| catboost.get_feature_importance {catboost} | R Documentation |
Calculate the feature importances (see https://tech.yandex.com/catboost/doc/dg/concepts/fstr-docpage/#fstr) (Regular feature importance, ShapValues, and Feature interaction strength).
catboost.get_feature_importance(model, pool = NULL, type = "FeatureImportance", thread_count = -1, fstr_type = NULL)
model |
The model obtained as the result of training. Default value: Required argument |
pool |
The input dataset. The feature importance for the training dataset is calculated if this argument is not specified. Default value: NULL |
type |
The feature importance type. Possible values:
Default value: 'FeatureImportance' |
thread_count |
The number of threads to use when applying the model. If -1, then the number of threads is set to the number of CPU cores. Allows you to optimize the speed of execution. This parameter doesn't affect results. Default value: -1 |
fstr_type |
Deprecated parameter, use 'type' instead. |
https://tech.yandex.com/catboost/doc/dg/features/feature-importances-calculation-docpage