-
Notifications
You must be signed in to change notification settings - Fork 422
Add ability to pass sample weights for training #154
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
Comments
Do you mean |
I mean sample weights. For class weights, I've created separate issue #155 |
@kmedved this can be added to the next major release. Would you like to help? Even testing or providing use cases would be nice. |
I would be happy to help with testing or use cases; actual code contribution is over my head unfortunately. |
User can pass
The default for The algorithms that don't support |
@kmedved I just finished |
Thanks @pplonski - I will do some testing. Thanks! |
@pplonski does adding sample_weight in .fit() cause training to pay more attention to heavily weighted samples or is it just for calculating metrics? |
@alitirmizi23 you are right, the higher the weight the more attention during the training. |
There should be an option to pass weights for training. Weights should be used in metrics as well.
The text was updated successfully, but these errors were encountered: