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

XGBOOSTClassifier #16

Open
Sbellart-dev opened this issue Apr 10, 2024 · 1 comment
Open

XGBOOSTClassifier #16

Sbellart-dev opened this issue Apr 10, 2024 · 1 comment

Comments

@Sbellart-dev
Copy link

There is a problem with boolean condition when I want to import a model of XGBOOSTClassifier

I trained a XGBOOSTClassifier with some booleans features (with true and false and not 1 and 0 as possible values)

After the training, XGBOOST didn't registered a "split_condition" that pyxai try to read since it's implicit to check is the bool is set to true or not and pyxai failed to import my model

@szczepanskiNicolas
Copy link
Collaborator

Hello @Sbellart-dev

Sorry for the delay in replying.

In PyXAI, we use the version 1.7.3 of xgboost. This may not work if you've used a higher version to create the model. Could you please tell me the version with which the model was created?

We'll make this compatible in a future version of pyxai.

Thank you for your interest in the project.

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

2 participants