@@ -9,6 +9,20 @@ Version 1.3.1
9
9
10
10
**In development **
11
11
12
+ Changed models
13
+ --------------
14
+
15
+ The following estimators and functions, when fit with the same data and
16
+ parameters, may produce different models from the previous version. This often
17
+ occurs due to changes in the modelling logic (bug fixes or enhancements), or in
18
+ random sampling procedures.
19
+
20
+ - |Fix | Ridge models with `solver='sparse_cg' ` may have slightly different
21
+ results with scipy>=1.12, because of an underlying change in the scipy solver
22
+ (see `scipy#18488 <https://github.com/scipy/scipy/pull/18488 >`_ for more
23
+ details)
24
+ :pr: `26814 ` by :user: `Loïc Estève <lesteve> `
25
+
12
26
Changes impacting all modules
13
27
-----------------------------
14
28
@@ -18,6 +32,13 @@ Changes impacting all modules
18
32
Changelog
19
33
---------
20
34
35
+ :mod: `sklearn.calibration `
36
+ ..........................
37
+
38
+ - |Fix | :class: `calibration.CalibratedClassifierCV ` can now handle models that
39
+ produce large prediction scores. Before it was numerically unstable.
40
+ :pr: `26913 ` by :user: `Omar Salman <OmarManzoor> `.
41
+
21
42
:mod: `sklearn.cluster `
22
43
......................
23
44
@@ -26,7 +47,14 @@ Changelog
26
47
:pr: `27167 ` by `Olivier Grisel `_.
27
48
28
49
- |Fix | :class: `cluster.BisectingKMeans ` now works with data that has a single feature.
29
- :pr: `27243 ` by `Jérémie du Boisberranger <jeremiedbb> `.
50
+ :pr: `27243 ` by :user: `Jérémie du Boisberranger <jeremiedbb> `.
51
+
52
+ :mod: `sklearn.cross_decomposition `
53
+ ..................................
54
+
55
+ - |Fix | :class: `cross_decomposition.PLSRegression ` now automatically ravels the output
56
+ of `predict ` if fitted with one dimensional `y `.
57
+ :pr: `26602 ` by :user: `Yao Xiao <Charlie-XIAO> `.
30
58
31
59
:mod: `sklearn.ensemble `
32
60
.......................
@@ -36,6 +64,12 @@ Changelog
36
64
the sum of the scores should sum to zero for a sample).
37
65
:pr: `26521 ` by :user: `Guillaume Lemaitre <glemaitre> `.
38
66
67
+ :mod: `sklearn.feature_selection `
68
+ ................................
69
+
70
+ - |Fix | :func: `feature_selection.mutual_info_regression ` now correctly computes the
71
+ result when `X ` is of integer dtype. :pr: `26748 ` by :user: `Yao Xiao <Charlie-XIAO> `.
72
+
39
73
:mod: `sklearn.impute `
40
74
.....................
41
75
@@ -44,12 +78,20 @@ Changelog
44
78
during ``fit ``. :pr: `26600 ` by :user: `Shreesha Kumar Bhat <Shreesha3112> `.
45
79
46
80
:mod: `sklearn.metrics `
47
- .......................
81
+ ......................
48
82
49
83
- |Fix | Scorers used with :func: `metrics.get_scorer ` handle properly
50
84
multilabel-indicator matrix.
51
85
:pr: `27002 ` by :user: `Guillaume Lemaitre <glemaitre> `.
52
86
87
+ :mod: `sklearn.mixture `
88
+ ......................
89
+
90
+ - |Fix | The initialization of :class: `mixture.GaussianMixture ` from user-provided
91
+ `precisions_init ` for `covariance_type ` of `full ` or `tied ` was not correct,
92
+ and has been fixed.
93
+ :pr: `26416 ` by :user: `Yang Tao <mchikyt3> `.
94
+
53
95
:mod: `sklearn.neighbors `
54
96
........................
55
97
@@ -65,12 +107,20 @@ Changelog
65
107
when the input to the `param_distributions ` parameter is a list of dicts.
66
108
:pr: `26893 ` by :user: `Stefanie Senger <StefanieSenger> `.
67
109
110
+ - |Fix | Neighbors based estimators now correctly work when `metric="minkowski" ` and the
111
+ metric parameter `p ` is in the range `0 < p < 1 `, regardless of the `dtype ` of `X `.
112
+ :pr: `26760 ` by :user: `Shreesha Kumar Bhat <Shreesha3112> `.
113
+
68
114
:mod: `sklearn.preprocessing `
69
115
............................
70
116
71
117
- |Fix | :class: `preprocessing.LabelEncoder ` correctly accepts `y ` as a keyword
72
118
argument. :pr: `26940 ` by `Thomas Fan `_.
73
119
120
+ - |Fix | :class: `preprocessing.OneHotEncoder ` shows a more informative error message
121
+ when `sparse_output=True ` and the output is configured to be pandas.
122
+ :pr: `26931 ` by `Thomas Fan `_.
123
+
74
124
:mod: `sklearn.tree `
75
125
...................
76
126
0 commit comments