7
7
Version 1.0.1
8
8
=============
9
9
10
- **In Development **
10
+ **October 2021 **
11
11
12
12
Changelog
13
13
---------
@@ -43,6 +43,14 @@ Fixed models
43
43
between sparse and dense input. :pr: `21195 `
44
44
by :user: `Jérémie du Boisberranger <jeremiedbb> `.
45
45
46
+ :mod: `sklearn.ensemble `
47
+ .......................
48
+
49
+ - |Fix | Fixed a bug that could produce a segfault in rare cases for
50
+ :class: `ensemble.HistGradientBoostingClassifier ` and
51
+ :class: `ensemble.HistGradientBoostingRegressor `.
52
+ :pr: `21130 ` :user: `Christian Lorentzen <lorentzenchr> `.
53
+
46
54
:mod: `sklearn.gaussian_process `
47
55
...............................
48
56
@@ -59,12 +67,21 @@ Fixed models
59
67
longer checks for uppercase characters in the provided vocabulary. :pr: `21251 `
60
68
by :user: `Jérémie du Boisberranger <jeremiedbb> `.
61
69
70
+ - |Fix | Fixed a bug in :class: `feature_extraction.CountVectorizer ` and
71
+ :class: `feature_extraction.TfidfVectorizer ` by raising an
72
+ error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1.
73
+ :pr: `20752 ` by :user: `Alek Lefebvre <AlekLefebvre> `.
74
+
62
75
:mod: `sklearn.linear_model `
63
76
...........................
64
77
65
78
- |Fix | Improves stability of :class: `linear_model.LassoLars ` for different
66
79
versions of openblas. :pr: `21340 ` by `Thomas Fan `_.
67
80
81
+ - |Fix | :class: `linear_model.LogisticRegression ` now raises a better error
82
+ message when the solver does not support sparse matrices with int64 indices.
83
+ :pr: `21093 ` by `Tom Dupre la Tour `_.
84
+
68
85
:mod: `sklearn.neighbors `
69
86
........................
70
87
@@ -95,6 +112,18 @@ Fixed models
95
112
:mod: `sklearn.utils `
96
113
....................
97
114
115
+ - |Enhancement | :func: `utils.validation._check_sample_weight ` can perform a
116
+ non-negativity check on the sample weights. It can be turned on
117
+ using the only_non_negative bool parameter.
118
+ Estimators that check for non-negative weights are updated:
119
+ :func: `linear_model.LinearRegression ` (here the previous
120
+ error message was misleading),
121
+ :func: `ensemble.AdaBoostClassifier `,
122
+ :func: `ensemble.AdaBoostRegressor `,
123
+ :func: `neighbors.KernelDensity `.
124
+ :pr: `20880 ` by :user: `Guillaume Lemaitre <glemaitre> `
125
+ and :user: `András Simon <simonandras> `.
126
+
98
127
- |Fix | Solve a bug in :func: `~sklearn.utils.metaestimators.if_delegate_has_method `
99
128
where the underlying check for an attribute did not work with NumPy arrays.
100
129
:pr: `21145 ` by :user: `Zahlii <Zahlii> `.
0 commit comments