classifOutput-class       package:MLInterfaces       R Documentation

_C_l_a_s_s "_c_l_a_s_s_i_f_O_u_t_p_u_t": _c_o_n_t_a_i_n_e_r _f_o_r _o_u_t_p_u_t _o_f
_c_l_a_s_s_i_f_i_c_a_t_i_o_n _p_r_o_c_e_d_u_r_e_s _i_n _R

_D_e_s_c_r_i_p_t_i_o_n:

     container with uniform contents for classifier outputs

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("classifOutput",
     ...)'. These objects include label vectors for test set elements,
     scores on labeling events, call history information, native
     classifier object access, and a distance matrix for test set
     feature vectors.

_S_l_o_t_s:

     '_m_e_t_h_o_d': Object of class '"character"' tag identifying
          classification method in use 

     '_p_r_e_d_L_a_b_e_l_s': Object of class '"MLLabel"' vector of labels
          predicted for test cases 

     '_p_r_e_d_S_c_o_r_e_s': Object of class '"MLScore"' structure of scores on
          classification events (for example, vote proportions or
          fitted probabilities of class membership

     '_c_a_l_l': Object of class '"call"' call engendering the
          classifOutput object 

     '_c_l_a_s_s_i_f_R_o_b_j_e_c_t': Object of class '"ANY"' fitted model object 

     '_d_i_s_t_M_a_t': Object of class '"dist"' distance matrix  of test set
          feature vectors 

_M_e_t_h_o_d_s:

     _s_h_o_w 'signature(object = "classifOutput")': ... 

     _s_i_l_h_o_u_e_t_t_e_B 'signature(out = "classifOutput")': ... 

_A_u_t_h_o_r(_s):

     VJ Carey <stvjc@channing.harvard.edu>

_E_x_a_m_p_l_e_s:

     # access and trim an ExpressionSet
     library(golubEsets)
     data(Golub_Merge)
     smallG <- Golub_Merge[1:60,]
     # set a PRNG seed for reproducibilitiy
     set.seed(1234) # needed for nnet initialization
     # now run the classifiers
     f1 = knnB( smallG, "ALL.AML", 1:40 )
     f1
     confuMat(f1)

