ENH HistGradientBoosting estimators should have .feature_importances_
attribute
#25707
Labels
.feature_importances_
attribute
#25707
Describe the workflow you want to enable
The practicality of using the
.feature_importances_
attribute to superficially analyze global explanations of your classifier is really useful, IMHO.Right after evaluating the model, running something like
is the first thing I do.
Furthermore, some variable selection strategies assume that your estimator has this attribute, and it seems suboptimal to me to deprive ourselves of using
HistGradientBoosting
with these techniques.I understand the concerns raised by @ogrisel's comment in the original PR that implemented HistGradientBoosting, but I believe we have more points in favor of its implementation than its omission. I'd love to hear your thoughts. :)
Describe your proposed solution
No response
Describe alternatives you've considered, if relevant
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: