predict_Weka_classifier        package:RWeka        R Documentation

_M_o_d_e_l _P_r_e_d_i_c_t_i_o_n_s _f_o_r _R/_W_e_k_a _C_l_a_s_s_i_f_i_e_r_s

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

     Predicted values based on fitted Weka classifier models.

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

     ## S3 method for class 'Weka_classifier':
     predict(object, newdata = NULL,
             type = c("class", "probability"), ...)

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

  object: an object of class inheriting from 'Weka_classifier'.

 newdata: an optional data frame in which to look for variables with
          which to predict.  If omitted or 'NULL', the training
          instances are used.

    type: character string determining whether classes should be
          predicted (numeric for regression, factor for classification)
          or class probabilities (only available for classification). 
          May be abbreviated.

     ...: further arguments passed to or from other methods.

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

     Either a vector with classes or a matrix with the posterior class
     probabilities, with rows corresponding to instances and columns to
     classes.

