powered by
Calculate expected OOB error rates (priors) for randomForest classification model based on random assignment and class sizes.
exptdErrRate(rf)
an object inheriting from link{randomForest}.
link{randomForest}
a vector of expected error rates (priors) for each class.
# NOT RUN { data(mtcars) rf <- randomForest(factor(am) ~ ., mtcars) exptdErrRate(rf) # }
Run the code above in your browser using DataLab