Unable to find out the feature importance list from histgradientboosting classifier

65 views Asked by At

Is there any way to find the feature importances from a histgradientboosting classifier model in python?

I tried using model.feature_importances_ but the error message was

AttributeError: 'HistGradientBoostingClassifier' object has no attribute 'feature_importances_'

I wanted to get all the features in a list with percentage of importance of each feature.

1

There are 1 answers

1
PV8 On BEST ANSWER