restrict                package:AMORE                R Documentation

_R_e_s_t_r_i_c_t _t_h_e _p_a_t_t_e_r_n_s _t_o _t_h_e [-_1,_1] _i_n_t_e_r_v_a_l.

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

       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.

_V_a_l_u_e:

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

_A_u_t_h_o_r(_s):

     Manuel Castejn Limas.              manuel.castejon@unileon.es
      Joaquin Ordieres Mer.             
     joaquin.ordieres@dim.unirioja.es
      Ana Gonzlez Marcos.                ana.gonzalez@unileon.es 
      Alpha V. Perna Espinoza.           alpha.pernia@alum.unirioja.es
      Eliseo P. Vergara Gonzalez.        
     eliseo.vergara@dim.unirioja.es
      Francisco Javier Martinez de Pisn.
     francisco.martinez@dim.unirioja.es
      Fernando Alba Elas.                fernando.alba@unavarra.es

_R_e_f_e_r_e_n_c_e_s:

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


_S_e_e _A_l_s_o:

     'train', 'train.compare'

