📜  如何构建随机森林 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:59.358000             🧑  作者: Mango

代码示例1
library(randomForest)
rf.model <- randomForest(formula = y ~ ., mtry = 4,
                         nodesize = 3,
                         sampsize = 5000,
                         data = your_data)