Skip to content

Commit 697ceee

Browse files
authored
Sort 0.24 what's new. (scikit-learn#18868)
1 parent 6420b8b commit 697ceee

File tree

1 file changed

+33
-35
lines changed

1 file changed

+33
-35
lines changed

doc/whats_new/v0.24.rst

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ Changelog
9393
When set to `True`, additional messages will be displayed which can aid with
9494
debugging. :pr:`18052` by :user:`Sean O. Stalley <sstalley>`.
9595

96-
- |API| :class:`cluster.MiniBatchKMeans` attributes, `counts_` and
97-
`init_size_`, are deprecated and will be removed in 0.26. :pr:`17864` by
98-
:user:`Jérémie du Boisberranger <jeremiedbb>`.
99-
10096
- |Enhancement| Added :func:`cluster.kmeans_plusplus` as public function.
10197
Initialization by KMeans++ can now be called separately to generate
10298
initial cluster centroids. :pr:`17937` by :user:`g-walsh`
10399

100+
- |API| :class:`cluster.MiniBatchKMeans` attributes, `counts_` and
101+
`init_size_`, are deprecated and will be removed in 0.26. :pr:`17864` by
102+
:user:`Jérémie du Boisberranger <jeremiedbb>`.
103+
104104
:mod:`sklearn.compose`
105105
......................
106106

@@ -171,6 +171,10 @@ Changelog
171171
files downloaded or cached to ensure data integrity.
172172
:pr:`14800` by :user:`Shashank Singh <shashanksingh28>` and `Joel Nothman`_.
173173

174+
- |Feature| :func:`datasets.fetch_openml` now validates md5checksum of arff
175+
files downloaded or cached to ensure data integrity.
176+
:pr:`14800` by :user:`Shashank Singh <shashanksingh28>` and `Joel Nothman`_.
177+
174178
- |Enhancement| :func:`datasets.fetch_openml` now allows argument `as_frame`
175179
to be 'auto', which tries to convert returned data to pandas DataFrame
176180
unless data is sparse.
@@ -189,19 +193,15 @@ Changelog
189193
:pr:`18280` by :user:`Alex Liang <tianchuliang>` and
190194
`Guillaume Lemaitre`_.
191195

192-
- |Feature| :func:`datasets.fetch_openml` now validates md5checksum of arff
193-
files downloaded or cached to ensure data integrity.
194-
:pr:`14800` by :user:`Shashank Singh <shashanksingh28>` and `Joel Nothman`_.
195-
196-
- |API| The default value of `as_frame` in :func:`datasets.fetch_openml` is
197-
changed from False to 'auto'.
198-
:pr:`17610` by :user:`Jiaxiang <fujiaxiang>`.
199-
200196
- |Enhancement| :func:`datasets.fetch_20newsgroups_vectorized` now supports
201197
loading as a pandas ``DataFrame`` by setting ``as_frame=True``.
202198
:pr:`17499` by :user:`Brigitta Sipőcz <bsipocz>` and
203199
`Guillaume Lemaitre`_.
204200

201+
- |API| The default value of `as_frame` in :func:`datasets.fetch_openml` is
202+
changed from False to 'auto'.
203+
:pr:`17610` by :user:`Jiaxiang <fujiaxiang>`.
204+
205205
:mod:`sklearn.decomposition`
206206
............................
207207

@@ -477,10 +477,9 @@ Changelog
477477
optional in the matplotlib plot by setting `colorbar=False`. :pr:`17192` by
478478
:user:`Avi Gupta <avigupta2612>`
479479

480-
- |Fix| Fixed a bug in
481-
:func:`metrics.classification_report` which was raising AttributeError
482-
when called with `output_dict=True` for 0-length values.
483-
:pr:`17777` by :user:`Shubhanshu Mishra <napsternxg>`.
480+
- |Feature| :func:`metrics.plot_confusion_matrix` now supports making colorbar
481+
optional in the matplotlib plot by setting colorbar=False. :pr:`17192` by
482+
:user:`Avi Gupta <avigupta2612>`.
484483

485484
- |Enhancement| Add `sample_weight` parameter to
486485
:func:`metrics.median_absolute_error`. :pr:`17225` by
@@ -491,10 +490,6 @@ Changelog
491490
class to be used when computing the precision and recall statistics.
492491
:pr:`17569` by :user:`Guillaume Lemaitre <glemaitre>`.
493492

494-
- |Feature| :func:`metrics.plot_confusion_matrix` now supports making colorbar
495-
optional in the matplotlib plot by setting colorbar=False. :pr:`17192` by
496-
:user:`Avi Gupta <avigupta2612>`.
497-
498493
- |Enhancement| Add `pos_label` parameter in
499494
:func:`metrics.plot_roc_curve` in order to specify the positive
500495
class to be used when computing the roc auc statistics.
@@ -505,6 +500,11 @@ Changelog
505500
when called with `output_dict=True` for 0-length values.
506501
:pr:`17777` by :user:`Shubhanshu Mishra <napsternxg>`.
507502

503+
- |Fix| Fixed a bug in
504+
:func:`metrics.classification_report` which was raising AttributeError
505+
when called with `output_dict=True` for 0-length values.
506+
:pr:`17777` by :user:`Shubhanshu Mishra <napsternxg>`.
507+
508508
- |Fix| Fixed a bug in
509509
:func:`metrics.jaccard_score` which recommended the `zero_division`
510510
parameter when called with no true or predicted samples.
@@ -565,6 +565,10 @@ Changelog
565565
will be raised.
566566
:pr:`18343` by `Guillaume Lemaitre`_ and :user:`Devi Sandeep <dsandeep0138>`.
567567

568+
- |Enhancement| :func:`model_selection.learning_curve` now accept fit_params
569+
to pass additional estimator parameters.
570+
:pr:`18595` by :user:`Amanda Dsouza <amy12xx>`.
571+
568572
- |Fix| Fixed the `len` of :class:`model_selection.ParameterSampler` when
569573
all distributions are lists and `n_iter` is more than the number of unique
570574
parameter combinations. :pr:`18222` by `Nicolas Hug`_.
@@ -575,24 +579,20 @@ Changelog
575579
:pr:`18266` by :user:`Subrat Sahu <subrat93>`,
576580
:user:`Nirvan <Nirvan101>` and :user:`Arthur Book <ArthurBook>`.
577581

578-
- |Enhancement| :func:`model_selection.learning_curve` now accept fit_params
579-
to pass additional estimator parameters.
580-
:pr:`18595` by :user:`Amanda Dsouza <amy12xx>`.
581-
582582
:mod:`sklearn.multiclass`
583583
.........................
584584

585-
- |Fix| A fix to allow :class:`multiclass.OutputCodeClassifier` to accept
586-
sparse input data in its `fit` and `predict` methods. The check for
587-
validity of the input is now delegated to the base estimator.
588-
:pr:`17233` by :user:`Zolisa Bleki <zoj613>`.
589-
590585
- |Enhancement| :class:`multiclass.OneVsOneClassifier` now accepts
591586
the inputs with missing values. Hence, estimators which can handle
592587
missing values (may be a pipeline with imputation step) can be used as
593588
a estimator for multiclass wrappers.
594589
:pr:`17987` by :user:`Venkatachalam N <venkyyuvy>`.
595590

591+
- |Fix| A fix to allow :class:`multiclass.OutputCodeClassifier` to accept
592+
sparse input data in its `fit` and `predict` methods. The check for
593+
validity of the input is now delegated to the base estimator.
594+
:pr:`17233` by :user:`Zolisa Bleki <zoj613>`.
595+
596596
:mod:`sklearn.multioutput`
597597
..........................
598598

@@ -780,6 +780,10 @@ Changelog
780780
estimator methods are invariant if applied to the same dataset
781781
with different sample order :pr:`17598` by :user:`Jason Ngo <ngojason9>`.
782782

783+
- |Enhancement| Add support for weights in
784+
:func:`utils.sparse_func.incr_mean_variance_axis`.
785+
By :user:`Maria Telenczuk <maikia>` and :user:`Alex Gramfort <agramfort>`.
786+
783787
- |Fix| Raise ValueError with clear error message in :func:`check_array`
784788
for sparse DataFrames with mixed types.
785789
:pr:`17992` by :user:`Thomas J. Fan <thomasjpfan>` and
@@ -793,12 +797,6 @@ Changelog
793797
dimensions do not match in :func:`utils.sparse_func.incr_mean_variance_axis`.
794798
By :user:`Alex Gramfort <agramfort>`.
795799

796-
797-
- |Enhancement| Add support for weights in
798-
:func:`utils.sparse_func.incr_mean_variance_axis`.
799-
By :user:`Maria Telenczuk <maikia>` and :user:`Alex Gramfort <agramfort>`.
800-
801-
802800
Miscellaneous
803801
.............
804802

0 commit comments

Comments
 (0)