BackPropagation Algorithm Learning
[C Interface]

Collaboration diagram for BackPropagation Algorithm Learning:


Functions

C_NNFW_API NnfwLearningAlgorithm * NnfwBackPropagationCreate (NnfwBaseNeuralNet *net, Real learn_rate, int n,...)
C_NNFW_API void NnfwBackPropagationEnableMomentum (NnfwLearningAlgorithm *bp, int enable)
C_NNFW_API void NnfwBackPropagationSetLearnRate (NnfwLearningAlgorithm *bp, Real rate)
C_NNFW_API void NnfwBackPropagationSetMomentum (NnfwLearningAlgorithm *bp, Real mom)
C_NNFW_API Real NnfwBackPropagationLearnRate (NnfwLearningAlgorithm *bp)
C_NNFW_API Real NnfwBackPropagationMomentum (NnfwLearningAlgorithm *bp)
C_NNFW_API void NnfwBackPropagationLearn (NnfwLearningAlgorithm *bp, NnfwPatternSet *pset)
C_NNFW_API Real NnfwBackPropagationCalcMSE (NnfwLearningAlgorithm *bp, NnfwPatternSet *pset)

Function Documentation

C_NNFW_API Real NnfwBackPropagationCalcMSE ( NnfwLearningAlgorithm *  bp,
NnfwPatternSet *  pset 
)

Calculate the MSE over PatternSet passed

C_NNFW_API NnfwLearningAlgorithm* NnfwBackPropagationCreate ( NnfwBaseNeuralNet *  net,
Real  learn_rate,
int  n,
  ... 
)

Create a BackPropagation Algorithm

Parameters:
neuralnet is the Neural Network to teach (optimize)
lear_rate is the learning rate to use
n is the number of successive elements that specifies the teaching order
... is the order of backpropagation of the error (usually the reverse order of spreading)

C_NNFW_API void NnfwBackPropagationEnableMomentum ( NnfwLearningAlgorithm *  bp,
int  enable 
)

Enable/Disable momentum

C_NNFW_API void NnfwBackPropagationLearn ( NnfwLearningAlgorithm *  bp,
NnfwPatternSet *  pset 
)

Iterate over PatternSet passed and teach the net

C_NNFW_API Real NnfwBackPropagationLearnRate ( NnfwLearningAlgorithm *  bp  ) 

Return Learn Rate

C_NNFW_API Real NnfwBackPropagationMomentum ( NnfwLearningAlgorithm *  bp  ) 

Return Momentum Rate

C_NNFW_API void NnfwBackPropagationSetLearnRate ( NnfwLearningAlgorithm *  bp,
Real  rate 
)

Set Learn Rate

C_NNFW_API void NnfwBackPropagationSetMomentum ( NnfwLearningAlgorithm *  bp,
Real  mom 
)

Set Momentum Rate

BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!