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 in single_prediction with xgboost model #11

Closed
alexakimenko opened this issue Mar 16, 2018 · 3 comments
Closed

Error in single_prediction with xgboost model #11

alexakimenko opened this issue Mar 16, 2018 · 3 comments

Comments

@alexakimenko
Copy link

There is error while running single_prediction() function with xgboost model:

Error in new_observation[rep(1, nrow(data)), ] : incorrect number of dimensions

Does this function support xgb.Booster model types?

I have DALEX_0.1.8 and breakDown_0.1.4.

@pbiecek
Copy link
Member

pbiecek commented Mar 17, 2018

Hi, I've added some small fixes in breakDown.

Try also this vignette with examples for classification and regression with xgboost
https://pbiecek.github.io/DALEX/articles/DALEX_and_xgboost.html

@pbiecek
Copy link
Member

pbiecek commented Apr 5, 2018

@alexakimenko Let me know if you still have an issue here. It should work with latest breakDown

@alexakimenko
Copy link
Author

Hi, it looks good now. Thank you!

@pbiecek pbiecek closed this as completed Apr 6, 2018
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