Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

how to build random forest in r

library(randomForest)
rf.model <- randomForest(formula = y ~ ., mtry = 4,
                         nodesize = 3,
                         sampsize = 5000,
                         data = your_data)
 
PREVIOUS NEXT
Tagged: #build #random #forest
ADD COMMENT
Topic
Name
7+1 =