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

Add sample weights to DMatrix #26

Open
mdabros opened this issue Aug 11, 2018 · 0 comments
Open

Add sample weights to DMatrix #26

mdabros opened this issue Aug 11, 2018 · 0 comments

Comments

@mdabros
Copy link
Contributor

mdabros commented Aug 11, 2018

Hi @gatapia,

I was trying to add support for sample weights in the XGBoost project in SharpLearning, related to this issue: mdabros/SharpLearning#82

However, it seems that the current DMatrix implementation in XGBoost.Net does not support setting the sample weights. This can be done via the python wrapper for instance, see this example: https://github.com/dmlc/xgboost/blob/master/demo/kaggle-higgs/higgs-numpy.py#L28

Would it be possible to add sample weight support to the DMatrix in XGBoost.Net?

Best regards
Mads

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

1 participant