-1
關於R程序包randomForest,將參數keep.Forest
設置爲True會有什麼作用?隨機森林參數「keep.forest」的含義
library(randomForest)
rf_model <- randomForest(rf_train_data$revenue ~ ., data= train_merged, keep.forest=TRUE, ntree=30)
關於R程序包randomForest,將參數keep.Forest
設置爲True會有什麼作用?隨機森林參數「keep.forest」的含義
library(randomForest)
rf_model <- randomForest(rf_train_data$revenue ~ ., data= train_merged, keep.forest=TRUE, ntree=30)
keep.forest:如果設置爲FALSE,森林不會被保留在 輸出對象。如果給出xtest,則默認爲FALSE。
您需要指定您正在使用的語言和庫供任何人幫助您。也可能是答案在該圖書館的文件 –