@@ -9,6 +9,10 @@ Version 0.23.0
9
9
10
10
**In Development **
11
11
12
+ For a short description of the main highlights of the release, please
13
+ refer to
14
+ :ref: `sphx_glr_auto_examples_release_highlights_plot_release_highlights_0_23_0.py `.
15
+
12
16
13
17
.. include :: changelog_legend.inc
14
18
@@ -103,9 +107,9 @@ Changelog
103
107
:pr: `16149 ` by :user: `Jeremie du Boisberranger <jeremiedbb> ` and
104
108
:user: `Alex Shacked <alexshacked> `.
105
109
106
- - |Efficiency | The critical parts of :class: `cluster.KMeans ` have a more
107
- optimized implementation. Parallelism is now over the data instead of over
108
- initializations allowing better scalability. :pr: `11950 ` by
110
+ - |Efficiency | | MajorFeature | The critical parts of :class: `cluster.KMeans `
111
+ have a more optimized implementation. Parallelism is now over the data
112
+ instead of over initializations allowing better scalability. :pr: `11950 ` by
109
113
:user: `Jeremie du Boisberranger <jeremiedbb> `.
110
114
111
115
- |Enhancement | :class: `cluster.KMeans ` now supports sparse data when
@@ -124,6 +128,10 @@ Changelog
124
128
could not have a `np.int64 ` type. :pr: `16484 `
125
129
by :user: `Jeremie du Boisberranger <jeremiedbb> `.
126
130
131
+ - |Fix | :class: `cluster.AgglomerativeCluClustering ` add specific error when
132
+ distance matrix is not square and `affinity=precomputed `.
133
+ :pr: `16257 ` by :user: `Simona Maggio <simonamaggio> `.
134
+
127
135
- |API | The ``n_jobs `` parameter of :class: `cluster.KMeans `,
128
136
:class: `cluster.SpectralCoclustering ` and
129
137
:class: `cluster.SpectralBiclustering ` is deprecated. They now use OpenMP
@@ -187,6 +195,12 @@ Changelog
187
195
`ValueError ` for arguments `n_classes < 1 ` OR `length < 1 `.
188
196
:pr: `16006 ` by :user: `Rushabh Vasani <rushabh-v> `.
189
197
198
+ - |API | The `StreamHandler ` was removed from `sklearn.logger ` to avoid
199
+ double logging of messages in common cases where a hander is attached
200
+ to the root logger, and to follow the Python logging documentation
201
+ recommendation for libraries to leave the log message handling to
202
+ users and application code. :pr: `16451 ` by :user: `Christoph Deil <cdeil> `.
203
+
190
204
:mod: `sklearn.decomposition `
191
205
............................
192
206
@@ -234,7 +248,7 @@ Changelog
234
248
samples in the training set. :pr: `14516 ` by :user: `Johann Faouzi
235
249
<johannfaouzi> `.
236
250
237
- - |Feature | :class: `ensemble.HistGradientBoostingClassifier ` and
251
+ - |MajorFeature | :class: `ensemble.HistGradientBoostingClassifier ` and
238
252
:class: `ensemble.HistGradientBoostingRegressor ` now support monotonic
239
253
constraints, useful when features are supposed to have a positive/negative
240
254
effect on the target. :pr: `15582 ` by `Nicolas Hug `_.
@@ -340,9 +354,10 @@ Changelog
340
354
:pr: `14300 ` by :user: `Christian Lorentzen <lorentzenchr> `, `Roman Yurchak `_,
341
355
and `Olivier Grisel `_.
342
356
343
- - |Feature | Support of `sample_weight ` in :class: `linear_model.ElasticNet ` and
344
- :class: `linear_model.Lasso ` for dense feature matrix `X `.
345
- :pr: `15436 ` by :user: `Christian Lorentzen <lorentzenchr> `.
357
+ - |MajorFeature | Support of `sample_weight ` in
358
+ :class: `linear_model.ElasticNet ` and :class: `linear_model.Lasso ` for dense
359
+ feature matrix `X `. :pr: `15436 ` by :user: `Christian Lorentzen
360
+ <lorentzenchr> `.
346
361
347
362
- |Efficiency | :class: `linear_model.RidgeCV ` and
348
363
:class: `linear_model.RidgeClassifierCV ` now does not allocate a
@@ -395,6 +410,13 @@ Changelog
395
410
using joblib loky backend. :pr: `14264 ` by
396
411
:user: `Jérémie du Boisberranger <jeremiedbb> `.
397
412
413
+ - |Efficiency | Speed up :class: `linear_model.MultiTaskLasso `,
414
+ :class: `linear_model.MultiTaskLassoCV `, :class: `linear_model.MultiTaskElasticNet `,
415
+ :class: `linear_model.MultiTaskElasticNetCV ` by avoiding slower
416
+ BLAS Level 2 calls on small arrays
417
+ :pr: `17021 ` by :user: `Alex Gramfort <agramfort> ` and
418
+ :user: `Mathurin Massias <mathurinm> `.
419
+
398
420
:mod: `sklearn.metrics `
399
421
......................
400
422
@@ -436,9 +458,9 @@ Changelog
436
458
type and details.
437
459
:pr: `15622 ` by :user: `Gregory Morse <GregoryMorse> `.
438
460
439
- - |Fix | :func: ` cross_val_predict ` supports ` method="predict_proba" `
440
- when `y=None `.
441
- :pr: ` 15918 ` by : user: `Luca Kubin <lkubin> `.
461
+ - |Fix | :func: ` model_selection. cross_val_predict ` supports
462
+ ` method="predict_proba" ` when `y=None `.:pr: ` 15918 ` by
463
+ :user: `Luca Kubin <lkubin> `.
442
464
443
465
- |Fix | :func: `model_selection.fit_grid_point ` is deprecated in 0.23 and will
444
466
be removed in 0.25. :pr: `16401 ` by
@@ -567,6 +589,12 @@ Changelog
567
589
:mod: `sklearn.utils `
568
590
....................
569
591
592
+ - |MajorFeature | Estimators can now be displayed with a rich html
593
+ representation. This can be enabled in Jupyter notebooks by setting
594
+ `display='diagram' ` in :func: `~sklearn.set_config `. The raw html can be
595
+ returned by using :func: `utils.estimator_html_repr `.
596
+ :pr: `14180 ` by `Thomas Fan `_.
597
+
570
598
- |Enhancement | improve error message in :func: `utils.validation.column_or_1d `.
571
599
:pr: `15926 ` by :user: `Loïc Estève <lesteve> `.
572
600
@@ -595,16 +623,14 @@ Changelog
595
623
- |FIX | :func: `utils.all_estimators ` now only returns public estimators.
596
624
:pr: `15380 ` by `Thomas Fan `_.
597
625
598
- :mod: `sklearn.cluster `
599
- ......................
600
-
601
- - |Fix | :class: `cluster.AgglomerativeClustering ` add specific error when
602
- distance matrix is not square and `affinity=precomputed `.
603
- :pr: `16257 ` by :user: `Simona Maggio <simonamaggio> `.
604
-
605
626
Miscellaneous
606
627
.............
607
628
629
+ - |MajorFeature | Adds a HTML representation of estimators to be shown in
630
+ a jupyter notebook or lab. This visualization is acitivated by setting the
631
+ `display ` option in :func: `sklearn.set_config `. :pr: `14180 ` by
632
+ `Thomas Fan `_.
633
+
608
634
- |Enhancement | ``scikit-learn `` now works with ``mypy `` without errors.
609
635
:pr: `16726 ` by `Roman Yurchak `_.
610
636
0 commit comments