cltrain                package:locfit                R Documentation

_T_r_a_i_n_i_n_g _d_a_t_a_s_e_t _f_o_r _c_l_a_s_s_i_f_i_c_a_t_i_o_n

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

     200 observations from a 2 population model. Under population 0,
     \(x_{1,i}\) has a standard normal distribution, and \(x_{2,i} =
     (2-x_{1,i}^2+z_i)/3\), where \(z_i\) is also standard normal.
     Under population 1, \(x_{2,i} = -(2-x_{1,i}^2+z_i)/3\). The
     optimal classification regions form a checkerboard pattern, with
     horizontal boundary at \(x_2=0\), vertical boundaries at \(x_1 =
     \pm \sqrt{2}\).

     This is the same model as the cltest dataset.

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

     data(cltrain)

_F_o_r_m_a_t:

     Data Frame. Three variables x1, x2 and y. The latter indicates
     class membership.

