您好我有以下问题:
我想评估随机林性能,我在R
中执行了以下步骤library(randomForest)
set.seed(300)
rf <- randomForest(Survived ~ ., data = ciforest)
rf
#and then evaluate random forest performance
library(caret)
ctrl <- trainControl(method = "repeatedcv", number = 10, repeats = 10)
Error: could not find function "trainControl"