NN50.DLL

RG Software Corporation Multi-Layer QProp Cascade 
Neural Network runtime Version 5.0
**********************************************************

Unzip the demo NN50.DLL library into your Windows System directory.
For Windows NT: unzip to C:\WINNT\SYSTEM32
For Windows 95 and 98, unzip to C:\WINDOWS\SYSTEM

Note: This is not an ActiveX DLL. 
      There is no need to register using REGSVR32.EXE

Email support@rgsoftware.com for technical support.

For ordering instructions, please email sales@rgsoftware.com
or visit http://www.rgsoftware.com/order.htm


NN50 API

Function: Train 
Purpose: Trains the Neural Network
Arguments:
SafeArray Pointer: dwArrayPointer() DOUBLE
lpEpochs LONG
nResetWeights INTEGER
nLearningRate DOUBLE
nMomentum DOUBLE
nMaxNeurons INTEGER
Callback pointer lpCallBackOfEpoch DWORD
Callback pointer lpCallBackOfRMSError As DWORD
Return value: INTEGER (1 success / -1 failed)

Function: InputRelevance
(Principle Component Analysis)
Purpose: Returns a percentage of contribution to output on each input vector.
SafeArray Pointer: dwFromArrayPointer() DOUBLE
SafeArray Pointer: dwToArrayPointer() DOUBLE
lpEpochs LONG
nLearningRate DOUBLE
nMomentum DOUBLE
nMaxNeurons INTEGER
Return value: INTEGER (1 success / -1 failed)

Function: LoadNetwork 
Purpose: Reads a pre-trained Neural Network into memory
SafeArray Pointer: ArrayPointer() DOUBLE
lpFILENAME STRING
nLearningRate DOUBLE
nMomentum DOUBLE
nMaxNeurons INTEGER
Return value: INTEGER (1 success / -1 failed)

Function: SaveNetwork 
Purpose: Saves a trained Neural Network to disk
lpFILENAME STRING
Return value: INTEGER (1 success / -1 failed)

Function: Predict 
Purpose: Makes a prediction based on a single record of data
SafeArray Pointer: dwArrayPointer() DOUBLE
nLearningRate DOUBLE
nMomentum As DOUBLE
nMaxNeurons As INTEGER
Return value: DOUBLE (predicted value)

Function: StopProcessing 
Return value: INTEGER (1 success / -1 failed)


Common Arguments:

nMaximumNeurons INTEGER (1 to 2000)
Specifies how many hidden neurons the network can add using cascade correlation

nLearningRate DOUBLE
(0.1 to 10) Neuron and synapse learning rates

nMomentum DOUBLE
Neuron and synapse learning momentum
