restrict {AMORE}R Documentation

Restrict the patterns to the [-1,1] interval.

Description

This function centers and scales the data set so as to be confined in the [-1,1] interval. Then no x.max nor x.min should be indicated. In case new data is considered, the user may apply the same transformation according to the limits of the previous data set, thus obtaining, for example, the image of a new data set in the interval used for training.

Usage

restrict(x,x.max,x.min) 

Arguments

x Data set to be centered and scaled.
x.max Upper bound of a previous data set.
x.min Lower bound of a previous data set.

Value

This function returns a list. The first element contains the transformed x values. The second element contains x.max and the third x.min.

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

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

See Also

train, train.compare


[Package AMORE version 0.1.1 Index]