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 matrix of expected error rates (prior) and p-values from a binomial test (class_p.value) for each class.
prior
class_p.value
# NOT RUN { data(mtcars) rf <- randomForest(factor(am) ~ ., mtcars) exptdErrRate(rf) # }
Run the code above in your browser using DataLab