Description Usage Arguments Details Value Author(s) Examples
View source: R/random_forest_model.R
Build Random Forest Model.
1 | randomForestModel(eqn, df)
|
eqn |
formula |
df |
data.frame |
randoMForestModel
rf model
Jayachandra N
1 | randomForestModel( Species ~ ., iris)
|
Registered S3 method overwritten by 'quantmod':
method from
as.zoo.data.frame zoo
Call:
randomForest(formula = eqn, data = df, importance = TRUE)
Type of random forest: classification
Number of trees: 500
No. of variables tried at each split: 2
OOB estimate of error rate: 5.33%
Confusion matrix:
setosa versicolor virginica class.error
setosa 50 0 0 0.00
versicolor 0 47 3 0.06
virginica 0 5 45 0.10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.