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

Error when calling showWaterfall #40

Open
sbsrouteur opened this issue Oct 2, 2020 · 1 comment
Open

Error when calling showWaterfall #40

sbsrouteur opened this issue Oct 2, 2020 · 1 comment

Comments

@sbsrouteur
Copy link

sbsrouteur commented Oct 2, 2020

Hello,

I am relatively new to ML, and am trying to use xgboost explainer to understand the outcome of some linear models I am building.
Following the example at:
article on xgboostexplainer
I have adapted the sample code for my model.
I can build an explainer, and run explainPredictions without errors.

However when trying showWaterfall, I get the following error message.

`Extracting the breakdown of each prediction...
|================================================================================| 100%

DONE!
Error in slice.xgb.DMatrix(object, idxset) :
INTEGER() can only be applied to a 'integer', not a 'double'`

What does this mean I did wrong?

@sbsrouteur
Copy link
Author

no one maintaining this repo anymore? Is there a live fork?

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