📄 grow
字号:
grow package:randomForest R Documentation
_A_d_d _t_r_e_e_s _t_o _a_n _e_n_s_e_m_b_l_e
_D_e_s_c_r_i_p_t_i_o_n:
Add additional trees to an existing ensemble of trees.
_U_s_a_g_e:
## S3 method for class 'randomForest':
grow(x, how.many, ...)
_A_r_g_u_m_e_n_t_s:
x: an object of class 'randomForest', which contains a 'forest'
component.
how.many: number of trees to add to the 'randomForest' object.
...: currently ignored.
_V_a_l_u_e:
An object of class 'randomForest', containing 'how.many'
additional trees.
_N_o_t_e:
The 'confusion', 'err.rate', 'mse' and 'rsq' components (as well
as the corresponding components in the 'test' compnent, if exist)
of the combined object will be 'NULL'.
_A_u_t_h_o_r(_s):
Andy Liaw andy_liaw@merck.com
_S_e_e _A_l_s_o:
'combine', 'randomForest'
_E_x_a_m_p_l_e_s:
data(iris)
iris.rf <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE)
iris.rf <- grow(iris.rf, 50)
print(iris.rf)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -