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

Comments

Projects
None yet
2 participants
@alexakimenko
Copy link

alexakimenko commented Mar 16, 2018

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 added a commit that referenced this issue Mar 17, 2018

@pbiecek

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Owner

pbiecek commented Apr 5, 2018

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

@alexakimenko

This comment has been minimized.

Copy link
Author

alexakimenko commented Apr 6, 2018

Hi, it looks good now. Thank you!

@pbiecek pbiecek closed this Apr 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.