⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plot.randomforest

📁 本程序是基于linux系统下c++代码
💻 RANDOMFOREST
字号:
plot.randomForest        package:randomForest        R Documentation

_P_l_o_t _m_e_t_h_o_d _f_o_r _r_a_n_d_o_m_F_o_r_e_s_t _o_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Plot the error rates or MSE of a randomForest object

_U_s_a_g_e:

     ## S3 method for class 'randomForest':
     plot(x, type="l", main=deparse(substitute(x)), ...)

_A_r_g_u_m_e_n_t_s:

       x: an object of class 'randomForest'.

    type: type of plot.

    main: main title of the plot.

     ...: other graphical parameters.

_V_a_l_u_e:

     Invisibly, the error rates or MSE of the 'randomForest' object. If
     the object has a non-null 'test' component, then the returned
     object is a matrix where the first column is the out-of-bag
     estimate of error, and the second column is for the test set.

_N_o_t_e:

     This function does not work for 'randomForest' objects that have
     'type=unsupervised'.

     If the 'x' has a non-null 'test' component, then the test set
     errors are also plotted.

_A_u_t_h_o_r(_s):

     Andy Liaw

_S_e_e _A_l_s_o:

     'randomForest'

_E_x_a_m_p_l_e_s:

     data(mtcars)
     plot(randomForest(mpg ~ ., mtcars, keep.forest=FALSE, ntree=100), log="y")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -