feature_importance | R Documentation |
Calculates the average importance of features over multiple decision trees.
feature_importance(forest, features, sep = "$")
forest |
The trained |
features |
matrix or 3D array. The features on which it was trained. |
sep |
string. |
A matrix of importance scores with one row per column in
features
and one column per matrix (in a 3D array).
Other metrics:
edge_importance()
,
module_importance()
,
unique_module_importance()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.