train {AMORE}R Documentation

Neural network training function.

Description

For a given data set (training set), this function modifies the neural network weights and biases to approximate the relationships amongst variables present in the training set. These may serve to satisfy several needs, i.e. fitting non-linear functions.

Usage

train(net, P, T, Pval=NULL, Tval=NULL, error.criterium="LMS", report=TRUE, n.shows, show.step, Stao=NA,prob=NULL)

Arguments

net Neural Network to train.
P Training set input values.
T Training set output values
Pval Validation set input values for optional early stopping.
Tval Validation set output values for optional early stopping.
error.criterium Criterium used to measure the goodness of fit:"LMS", "LMLS", "TAO".
Stao Initial value of the S parameter used by the TAO algorithm.
report Logical value indicating whether the training function should keep quiet or should provide graphical/written information during the training process instead.
n.shows Number of times to report (if report is TRUE). The total number of training epochs is n.shows times show.step.
show.step Number of epochs to train non-stop until the training function is allow to report.
prob Vector with the probabilities of each sample so as to apply resampling training.

Value

This function returns a list with two elements: the trained Neural Network object with weights and biases adjusted by the adaptative backpropagation with momentum method and a matrix with the errors obtained during the training. If the validation set is provided, the early stopping technique is applied.

Author(s)

Manuel Castejón Limas. manuel.castejon@unileon.es
Joaquin Ordieres Meré joaquin.ordieres@dim.unirioja.es
Ana González Marcos. ana.gonzalez@unileon.es
Alpha V. Pernía Espinoza. alpha.pernia@alum.unirioja.es
Eliseo P. Vergara Gonzalez. eliseo.vergara@dim.unirioja.es
Francisco Javier Martinez de Pisón. francisco.martinez@dim.unirioja.es
Fernando Alba Elías. fernando.alba@unavarra.es

References

Pernía Espinoza, A.V., Ordieres Meré, J.B., Martínez de Pisón, F.J., González Marcos, A. TAO-robust backpropagation learning algorithm. Neural Networks. Vol. 18, Issue 2, pp. 191–204, 2005.

Simon Haykin. Neural Networks – a Comprehensive Foundation. Prentice Hall, New Jersey, 2nd edition, 1999. ISBN 0-13-273350-1.

See Also

newff


[Package AMORE version 0.2-11 Index]