powered by
Calculate confidence intervals for Random Forest classifications
classConfInt(rf, conf.level = 0.95, threshold = NULL)
a randomForest object
randomForest
confidence level for the binom.test confidence interval
binom.test
threshold to test observed classification probability against.
A matrix with the following columns for each class and overall:
percent correctly classified
the lower and upper central confidence intervals given conf.level
conf.level
the probability that the true classification probability is >= threshold
threshold
# NOT RUN { data(symb.metab) rf <- randomForest(type ~ ., symb.metab) classConfInt(rf) # }
Run the code above in your browser using DataLab