Description Usage Arguments Value Examples
View source: R/min_depth_distribution.R
Get minimal depth values for all trees in a random forest
1 | min_depth_distribution(forest)
|
forest |
A randomForest or ranger object |
A data frame with the value of minimal depth for every variable in every tree
1 2 | min_depth_distribution(randomForest::randomForest(Species ~ ., data = iris, ntree = 100))
min_depth_distribution(ranger::ranger(Species ~ ., data = iris, num.trees = 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.