backpropagate.adapt.R.NeuralNet: Backpropagates the single pattern error modifying accordingly the Neural Network's weights and biases.
Description
Mainly written to be called by the adapt.R.NeuralNet function. Currently two versions are available: the original R code function (backpropagate.adapt.R.NeuralNet) has kept for educational purposses while the C code version (backpropagate.adapt.C.NeuralNet) provides higher speeds of executions and thus is most likely the one to be preferred.Usage
backpropagate.adapt.R.NeuralNet(net,target)
backpropagate.adapt.C.NeuralNet(net,target)
Arguments
net
Neural Network to train.
target
Training output vector.
Value
- This function returns a Neural Network object with weights and biases adjusted by the adaptative backpropagation with momentum method.
References
Simon Haykin. Neural Networks. A comprehensive foundation. 2nd Edition.