Learn R Programming

AMORE (version 0.1.1)

adapt: Adaptative on-line single pattern training

Description

Modifies the neural network weights and biases according to one pattern chosen from the training set. Mostly written to be called by the train function so as to be applied to the whole training set.

Currently the user may choose amongst several versions of the same function. The differences lay in the incresing degree of C code programming involve. The slower adapt.R.NeuralNet was the original R code function and adapt.C4.NeuralNet (a.k.a adapt.NeuralNet ) is the more C conversed function and the one that provides higher speeds of execution.

Usage

adapt.NeuralNet(net,Pvector,target)
adapt.R.NeuralNet(net,Pvector,target)
adapt.C1.NeuralNet(net,Pvector,target)
adapt.C2.NeuralNet(net,Pvector,target)
adapt.C3.NeuralNet(net,Pvector,target)

Arguments

net
Neural Network to train.
Pvector
Input values of the training pattern.
target
Output values of the training pattern.

Value

  • These functions return a neural network object modified according to the chosen pattern vector.

encoding

latin1

References

Simon Haykin. Neural Networks. A comprehensive foundation. 2nd Edition.

See Also

train, train.compare