Description Usage Arguments Details Examples
Calculates error statistics for out-of-bag samples from a stratified_rf model.
1 2 |
object |
A stratified_rf model. |
... |
other options (not currently used) |
Predictions for a class are made by averaging class probabilities across trees rather than by a majority vote. All trees are weighted equally.
1 2 3 4 5 |
Stratified Random Forest object
Out-of-bag prediction error: 5.38%
Confusion Matrix
pred
real setosa versicolor virginica
setosa 29 1 0
versicolor 0 28 2
virginica 0 2 31
Class setosa - Precision: 100% Recall: 96.6%
Class versicolor - Precision: 90.3% Recall: 93.3%
Class virginica - Precision: 93.9% Recall: 93.9%
Predictor Variables:
Group 1 : Sepal.Length, Sepal.Width
Group 2 : Petal.Length, Petal.Width
Target Variable: Species
Built with 2 trees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.