?? combine
字號:
combine package:randomForest R Documentation
_C_o_m_b_i_n_e _E_n_s_e_m_b_l_e_s _o_f _T_r_e_e_s
_D_e_s_c_r_i_p_t_i_o_n:
Combine two more more ensembles of trees into one.
_U_s_a_g_e:
combine(...)
_A_r_g_u_m_e_n_t_s:
...: two or more objects of class 'randomForest', to be combined
into one.
_V_a_l_u_e:
An object of class 'randomForest'.
_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:
'randomForest', 'grow'
_E_x_a_m_p_l_e_s:
data(iris)
rf1 <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE)
rf2 <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE)
rf3 <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE)
rf.all <- combine(rf1, rf2, rf3)
print(rf.all)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -