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

any plans for supporting pred_contribs? #20

Open
yuanqingz opened this issue Sep 1, 2017 · 4 comments
Open

any plans for supporting pred_contribs? #20

yuanqingz opened this issue Sep 1, 2017 · 4 comments

Comments

@yuanqingz
Copy link

yuanqingz commented Sep 1, 2017

Currently XGBoost Python API support pred_contribs in Booster.predict. This option is useful for debugging some certain prediction cases because we can get contributions of each feature and find some explanation for the prediction result.

The API Doc http://xgboost.readthedocs.io/en/latest/python/python_api.html#xgboost.Booster.predict
Related commit dmlc/xgboost@6bd1869
Inspired by http://blog.datadive.net/interpreting-random-forests/

I'm wondering is there any plans for support this feature in this project? Thanks sincerely!

@bryan-woods
Copy link

I've been working on this over the last few days. I have a non-functioning draft that I'm debugging. Let me know if you'd like to help.

@bryan-woods
Copy link

I have a functioning contribution that I'm just about ready to push. I just need some help upgrading gradle as I have to run the contribution by the open-source overlords at my employer.

@yuanqingz
Copy link
Author

@bryan-woods Sorry for the late reply and thank you so much for the contribution! I'm not an expert about gradle, but I'm happy to give you as much help as I can. Let me know if you need my help.

@bryan-woods
Copy link

@cocorosiekz I too am sorry for the late reply. I just turned my attention back to this topic. Here is the ticket I created: #30

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