The Algorithms logo
The Algorithms
Про AlgorithmsПожертвувати

Random Forest

I
library(randomForest)
x <- cbind(x_train,y_train)
# Fitting model
fit <- randomForest(Species ~ ., x,ntree=500)
summary(fit)
# Predict Output 
predicted= predict(fit,x_test)