restrict {AMORE} | R Documentation |
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.
restrict(x,x.max,x.min)
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. |
This function returns a list. The first element contains the transformed x values. The second element contains x.max and the third x.min.
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
Simon Haykin. Neural Networks. A comprehensive foundation. 2nd Edition.