kha-class              package:kernlab              R Documentation

_C_l_a_s_s "_k_h_a"

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

     The Kernel Hebbian Algorithm class

_O_b_j_e_c_t_s _o_b_j_e_c_t_s _o_f _c_l_a_s_s "_k_h_a":

     Objects can be created by calls of the form 'new("kha", ...)'. or
     by calling the 'kha' function.

_S_l_o_t_s:

     '_p_c_v': Object of class '"matrix"' containing the principal
          component vectors 

     '_e_i_g': Object of class '"vector"' containing the coresponding
          normalization values

     '_e_s_k_m': Object of class '"vector"' containing the kernel sum

     '_k_e_r_n_e_l_f': Object of class '"kfunction"' containing the kernel
          function used

     '_k_p_a_r': Object of class '"list"' containing the kernel parameters
          used 

     '_x_m_a_t_r_i_x': Object of class '"matrix"' conatining the data matrix
          used 

     '_k_c_a_l_l': Object of class '"ANY"' containing the function call 

     '_n._a_c_t_i_o_n': Object of class '"ANY"' containg the action performed
          on NA 

_M_e_t_h_o_d_s:


     _e_i_g 'signature(object = "kha")': returns the normalization values 

     _k_c_a_l_l 'signature(object = "kha")': returns the performed call

     _k_e_r_n_e_l_f 'signature(object = "kha")': returns the used kernel
          function

     _p_c_v 'signature(object = "kha")': returns the principal component
          vectors 

     _e_s_k_m 'signature(object = "kha")': returns the kernel sum

     _p_r_e_d_i_c_t 'signature(object = "kha")': embeeds new data 

     _x_m_a_t_r_i_x 'signature(object = "kha")': returns the used data matrix 

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

     Alexandros Karatzoglou
      alexandros.karatzoglou@ci.tuwien.ac.at

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

     'kha', 'ksvm-class',  'kcca-class'

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

     # another example using the iris
     data(iris)
     test <- sample(1:50,20)

     kpc <- kha(~.,data=iris[-test,-5], kernel="rbfdot", kpar=list(sigma=0.2),features=2)

     #print the principal component vectors
     pcv(kpc)
     kernelf(kpc)
     eig(kpc)

