Skip to content

How to predict the feature importance for complex ML model by SHAP? #1367

Description

@Darker1095

I found that many times the output model of TPOT is a combination of multiple models, or feature processing,For example, this model :StackingEstimator(estimator=DecisionTreeRegressor(max_depth=7, min_samples_leaf=13, min_samples_split=15)),
PolynomialFeatures(degree=2, include_bias=False, interaction_only=False),
XGBRegressor(learning_rate=0.1, max_depth=5, min_child_weight=4, n_estimators=100, n_jobs=1, objective="reg:squarederror", subsample=0.6000000000000001, verbosity=0)

Then it is difficult to predict the importance of the original features using SHAP values. Is there any way to restrict TPOT to outputting only relatively simple models?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions