The Python Oracle

How does the class_weight parameter in scikit-learn work?

This video explains
How does the class_weight parameter in scikit-learn work?

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Switch On Looping

--

Chapters
00:00 Question
04:11 Accepted answer (Score 168)
05:38 Answer 2 (Score 25)
08:05 Thank you

--

Full question
https://stackoverflow.com/questions/3097...

Accepted answer links:
[this discussion]: https://github.com/scikit-learn/scikit-l...

Answer 2 links:
[imbalanced-learn]: https://imbalanced-learn.org/stable/inde...
[sklearn does not have]: https://stackoverflow.com/questions/3553...
[lightgbm]: https://lightgbm.readthedocs.io/en/lates...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #scikitlearn