-
Notifications
You must be signed in to change notification settings - Fork 86
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
Sample weight for XGBoost #82
Comments
Hi @petterton , Currently there is no support for providing sample weights. I have a few tasks for adding this to all the learners, however, I have not completed these yet. I might add it to the XGBoost learners as a starting point, without adding the option to the general learning interfaces. I will see if I can fit it in during the coming weeks. Best regards |
@petterton, I was trying add sample weight support for the XGBoost learners today. However, it seems that the DMatrix implementation in XGBoost.Net, which I am using to interface with the native xgboost lib, does not support setting the sample weights yet. This makes things slightly more complicated, so adding this will take more time, and depends on when the guys at XGBoost.Net have time to add this. I have added an issue for it: PicNet/XGBoost.Net#26 |
Thanks for your efforts @mdabros! I will follow developments on the issue at XGBoost.Net. |
In Python XGBoost one can provide weights for each row of the data, see http://xgboost.readthedocs.io/en/latest/python/python_api.html#xgboost.XGBClassifier.fit. I tried to look for a way to specify such weights in SharpLearning, but could not find it. Is this possible?
The text was updated successfully, but these errors were encountered: