Print contents of ODRF object.
Usage
# S3 method for class 'ODRF'
print(x, ...)
Arguments
- x
An object of class
ODRF
.- ...
Arguments to be passed to methods.
Value
OOB error, misclassification rate (MR) for classification or mean square error (MSE) for regression.
Examples
data(iris)
forest <- ODRF(Species ~ ., data = iris, parallel = FALSE, ntrees = 50)
#> Warning: You are creating a forest for classification
forest
#>
#> Call:
#> ODRF.formula(formula = Species ~ ., data = data, ntrees = 50, parallel = FALSE)
#> Type of oblique decision random forest: classification
#> Number of trees: 50
#> OOB estimate of error rate: 3.33%
#> Confusion matrix:
#> setosa versicolor virginica class_error
#> setosa 50 0 0 0.00000000
#> versicolor 0 47 2 0.04081624
#> virginica 0 3 48 0.05882341