selection_freqs {forestControl} | R Documentation |
Extract variable selection frequencies from randomForest
and ranger
model objects
selection_freqs(x)
x |
a |
tibble
of variable selection frequencies
library(randomForest)
data(iris)
iris.rf <- randomForest(iris[,-5], iris[,5], forest = TRUE)
iris.freqs <- selection_freqs(iris.rf)
print(iris.freqs)