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

counterfactuals for xgboost model give predict_function error #110

Open
lasantha13 opened this issue Aug 23, 2024 · 0 comments
Open

counterfactuals for xgboost model give predict_function error #110

lasantha13 opened this issue Aug 23, 2024 · 0 comments

Comments

@lasantha13
Copy link

lasantha13 commented Aug 23, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant