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
Comments
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. |
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. |
@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. |
@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 |
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!
The text was updated successfully, but these errors were encountered: