Method
getFeatureImportanceByModelVersion GET
Copy GET

Gets the feature importance calculated by various methods for the model.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelVersion str Unique string identifier for the model version.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result FeatureImportance
KEY TYPE Description
shapFeatureImportance dict A map of feature name to feature importance, determined by Shap values on a sample dataset.
limeFeatureImportance dict A map of feature name to feature importance, determined by Lime contribution values on a sample dataset.
permutationFeatureImportance dict A map of feature name to feature importance, determined by permutation importance.
nullFeatureImportance dict A map of feature name to feature importance, determined by null feature importance.
lofoFeatureImportance dict A map of feature name to feature importance, determined by the Leave One Feature Out method.
ebmFeatureImportance dict A map of feature name to feature importance, determined by an Explainable Boosting Machine.
Language: