Skip to content

[Bug]: Feature importances not present for an ensemble #1397

@lucazav

Description

@lucazav

Describe the bug

After I fit an AutoML ensemble for a regression ("ensemble": True in AutoML settings), trying to get the feature importances as follow I get an empty result:

automl.feature_importances_

As the final model is a StackRegressor, the final feature importances can be calculated by averaging the feature importances of each base estimator.

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

FLAML 2.3.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions