ml_tree_feature_importance
From sparklyr v0.5
by Javier Luraschi
Spark ML - Feature Importance for Tree Models
Spark ML - Feature Importance for Tree Models
Usage
ml_tree_feature_importance(sc, model)
Arguments
- sc
- A
spark_connection
. - model
- An
ml_model
encapsulating the output from a decision tree.
Value
-
A sorted data frame with feature labels and their relative importance.
Community examples
Looks like there are no examples yet.