Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Feature importances not present in individual ensemble models #1398

Open
lucazav opened this issue Jan 26, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@lucazav
Copy link

lucazav commented Jan 26, 2025

Describe the bug

After I fit an AutoML ensemble for a regression ("ensemble": True in AutoML settings), I get the best model of the ensamble in this way:

best_model = automl.best_model_for_estimator(automl.best_estimator)

If I try to get feature importances for this model in the following way, I get an empty result:

best_model.feature_importances_

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

FLAML 2.3.3

@lucazav lucazav added the bug Something isn't working label Jan 26, 2025
@thinkall
Copy link
Collaborator

Hi @lucazav , what's the individual model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants