Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78e24ad commit defba7bCopy full SHA for defba7b
doc/whats_new/upcoming_changes/sklearn.linear_model/30057.fix.rst
@@ -0,0 +1,4 @@
1
+- :class:`linear_model.LogisticRegression` and
2
+ :class:`linear_model.LogisticRegressionCV` now properly pass sample weights to
3
+ compute_class_weight under class_weight strategy 'balanced'.
4
+ By :user:`Shruti Nath <snath-xoc>` and :user:`Olivier Grisel <ogrisel>`
doc/whats_new/upcoming_changes/sklearn.svm/30057.fix.rst
@@ -0,0 +1,3 @@
+- :class:`svm.LinearSVM` now properly passes sample weights to
+ By :user:`Shruti Nath <snath-xoc>`
doc/whats_new/upcoming_changes/sklearn.utils/30057.enhancement.rst
+- :func:`utils.class_weight.compute_class_weight` now properly accounts for
+ sample weights when using strategy "balanced" to calculate class weights.
0 commit comments