tuneTWIX                package:TWIX                R Documentation

_P_a_r_a_m_e_t_e_r _T_u_n_i_n_g.

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

     This function tunes hyperparameters minbuck and maxdepth.

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

     tuneTWIX(formula, data = NULL, minbuck = seq(5, 30, by = 5), 
         xval = 10, runs = 10, trace.plot = TRUE) 

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

 formula: formula of the form 'y ~ x1 + x2 + ...', where 'y' must be a
          factor and 'x1,x2,...' are numeric or factor.

    data: an optional data frame containing the variables in the model.

 minbuck: the sampling space for parameter minbuck.

    xval: number of cross-validations.

    runs: number of runs.

trace.plot: Should trace plot be ploted?

     ...: other parameters to be passed through to plotting functions.

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

     'plot.TWIX','TWIX'

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

     data(olives)
     tuneTWIX(Region~.,data=olives[,1:9],minbuck=c(1,5,10,15,20,25),runs=2)

