Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Request: Add tree path dependent approach to catboost shap value calculation #4165

@ElliottMetzler

Description

@ElliottMetzler

phi = self.model.original_model.get_feature_importance(data=X, fstr_type="ShapValues")

The current implementation just uses Catboost's implementation, which always relies on reference data (either explicitly or implicitly). Requesting the ability to generate shap values using tree path (similar to implementation for xgboost).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIndicates new feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions