[scikit-learn] sample_weight vs class_weight
Sole Galli
solegalli at protonmail.com
Thu Dec 3 05:55:38 EST 2020
Hello team,
What is the difference in the implementation of class_weight and sample_weight in those algorithms that support both? like random forest or logistic regression?
Are both modifying the loss function? in a similar way?
Thank you!
Sole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20201203/7d01266e/attachment.html>
More information about the scikit-learn
mailing list