Skip to content

counterfactuals for xgboost model give predict_function error #110

@lasantha13

Description

@lasantha13

I tired to apply counterfactuals for xgboost model but got this error
ValueError:predict_function should be a tf.keras.Model or a torch.nn.Module instead of <class 'xgboost.sklearn.XGBClassifier'>.

Does this counterfaculas working only for keras or torch models?

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