softmaxnorm              package:dprep              R Documentation

_S_o_f_t_m_a_x _N_o_r_m_a_l_i_z_a_t_i_o_n

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

     This is a function to apply softmax normalization to a matrix or
     dataframe.

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

     softmaxnorm(data)

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

    data: the datset to be normalized

_D_e_t_a_i_l_s:

     This normalization is so called because it reaches "softly"
     towards maximum and minimum value, never quite getting there. The
     transformation is more or less linear in the middle range, and has
     a nonlinearity at both ends. The output range covered is [0,1]. 
     The algorithm removes the classes of the dataset before
     normalization and replaces them at the end to form the matrix
     again.

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

softdata: original matrix normalized

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

     Caroline Rodriguez and Edgar Acuna

_E_x_a_m_p_l_e_s:

     #---- Softmax Normalization----
     data(sonar)
     sonar.sftnorm=softmaxnorm(sonar)
     op=par(mfrow=c(2,1))
     plot(sonar[,1])
     plot(sonar.sftnorm[,1])
     par(op)

