标签: r
当我尝试运行以下代码时
set.seed(34324) rf.5.cv.1 <- train(rf.train.5, rf.label, method = "rf", tuneLength = 3,ntree = 1000, trControl = ctrl.1)
rf.label是使用此行代码创建的
rf.lable <- as.factor(train$Survived)