@@ -56,15 +56,15 @@ Changelog
56
56
:mod: `sklearn.base `
57
57
...................
58
58
59
- - |API | From version 0.24 :meth: `BaseEstimator.get_params ` will raise an
59
+ - |API | From version 0.24 :meth: `base. BaseEstimator.get_params ` will raise an
60
60
AttributeError rather than return None for parameters that are in the
61
61
estimator's constructor but not stored as attributes on the instance.
62
62
:pr: `14464 ` by `Joel Nothman `_.
63
63
64
64
:mod: `sklearn.calibration `
65
65
..........................
66
66
67
- - |Fix | Fixed a bug that made `calibration.CalibratedClassifierCV ` fail when
67
+ - |Fix | Fixed a bug that made :class: `calibration.CalibratedClassifierCV ` fail when
68
68
given a `sample_weight ` parameter of type `list ` (in the case where
69
69
`sample_weights ` are not supported by the wrapped estimator). :pr: `13575 `
70
70
by :user: `William de Vazelhes <wdevazelhes> `.
@@ -76,6 +76,15 @@ Changelog
76
76
neighbors graph as input. :issue: `10482 ` by `Tom Dupre la Tour `_ and
77
77
:user: `Kumar Ashutosh <thechargedneutron> `.
78
78
79
+ - |Enhancement | :class: `cluster.SpectralClustering ` now accepts a ``n_components ``
80
+ parameter. This parameter extends `SpectralClustering ` class functionality to
81
+ match :meth: `cluster.spectral_clustering `.
82
+ :pr: `13726 ` by :user: `Shuzhe Xiao <fdas3213> `.
83
+
84
+ - |Fix | Fixed a bug where :class: `cluster.KMeans ` produced inconsistent results
85
+ between `n_jobs=1 ` and `n_jobs>1 ` due to the handling of the random state.
86
+ :pr: `9288 ` by :user: `Bryan Yang <bryanyang0528> `.
87
+
79
88
:mod: `sklearn.compose `
80
89
......................
81
90
@@ -88,18 +97,6 @@ Changelog
88
97
pass `**fit_params ` to the underlying regressor.
89
98
:pr: `14890 ` by :user: `Miguel Cabrera <mfcabrera> `.
90
99
91
- :mod: `sklearn.cluster `
92
- ......................
93
-
94
- - |Enhancement | :class: `cluster.SpectralClustering ` now accepts a ``n_components ``
95
- parameter. This parameter extends `SpectralClustering ` class functionality to
96
- match `spectral_clustering `.
97
- :pr: `13726 ` by :user: `Shuzhe Xiao <fdas3213> `.
98
-
99
- - |Fix | Fixed a bug where :class: `cluster.KMeans ` produced inconsistent results
100
- between `n_jobs=1 ` and `n_jobs>1 ` due to the handling of the random state.
101
- :pr: `9288 ` by :user: `Bryan Yang <bryanyang0528> `.
102
-
103
100
:mod: `sklearn.cross_decomposition `
104
101
..................................
105
102
@@ -119,7 +116,7 @@ Changelog
119
116
. :pr: `14259 ` by :user: `Sourav Singh <souravsingh> `.
120
117
121
118
- |Enhancement | :func: `datasets.make_classification ` now accepts array-like
122
- `weights ` parameter, i.e. list or numpy.array, instead of list only.
119
+ `weights ` parameter, i.e. list or numpy.array, instead of list only.
123
120
:pr: `14764 ` by :user: `Cat Chenal <CatChenal> `.
124
121
125
122
- |Fix | Fixed a bug in :func: `datasets.fetch_openml `, which failed to load
@@ -131,7 +128,8 @@ Changelog
131
128
132
129
- |Enhancement | :func: `decomposition.dict_learning() ` and
133
130
:func: `decomposition.dict_learning_online() ` now accept `method_max_iter ` and
134
- pass it to `sparse_encode `. :issue: `12650 ` by `Adrin Jalali `_.
131
+ pass it to :meth: `decomposition.sparse_encode `.
132
+ :issue: `12650 ` by `Adrin Jalali `_.
135
133
136
134
- |Enhancement | :class: `decomposition.SparseCoder `,
137
135
:class: `decomposition.DictionaryLearning `, and
@@ -146,8 +144,8 @@ Changelog
146
144
:pr: `13960 ` by :user: `Scott Gigante <scottgigante> `.
147
145
148
146
- |Fix | :func: `decomposition.sparse_encode() ` now passes the `max_iter ` to the
149
- underlying ` LassoLars ` when `algorithm='lasso_lars' `. :issue: ` 12650 ` by
150
- `Adrin Jalali `_.
147
+ underlying :class: ` linear_model. LassoLars ` when `algorithm='lasso_lars' `.
148
+ :issue: ` 12650 ` by `Adrin Jalali `_.
151
149
152
150
:mod: `sklearn.dummy `
153
151
....................
@@ -224,13 +222,13 @@ Changelog
224
222
225
223
- |Enhancement | Addition of ``max_samples `` argument allows limiting
226
224
size of bootstrap samples to be less than size of dataset. Added to
227
- :class: `ensemble.forest. ForestClassifier `,
228
- :class: `ensemble.forest. ForestRegressor `,
229
- :class: `ensemble.forest. RandomForestClassifier `,
230
- :class: `ensemble.forest. RandomForestRegressor `,
231
- :class: `ensemble.forest. ExtraTreesClassifier `,
232
- :class: `ensemble.forest. ExtraTreesRegressor `,
233
- :class: `ensemble.forest. RandomTreesEmbedding `. :pr: `14682 ` by
225
+ :class: `ensemble.ForestClassifier `,
226
+ :class: `ensemble.ForestRegressor `,
227
+ :class: `ensemble.RandomForestClassifier `,
228
+ :class: `ensemble.RandomForestRegressor `,
229
+ :class: `ensemble.ExtraTreesClassifier `,
230
+ :class: `ensemble.ExtraTreesRegressor `,
231
+ :class: `ensemble.RandomTreesEmbedding `. :pr: `14682 ` by
234
232
:user: `Matt Hancock <notmatthancock> ` and
235
233
:pr: `5963 ` by :user: `Pablo Duboue <DrDub> `.
236
234
@@ -244,12 +242,12 @@ Changelog
244
242
:class: `feature_extraction.text.TfidfVectorizer `.
245
243
:pr: `14602 ` by :user: `Gaurav Chawla <getgaurav2> `.
246
244
247
- - |Fix | Functions created by build_preprocessor and build_analyzer of
245
+ - |Fix | Functions created by `` build_preprocessor `` and `` build_analyzer `` of
248
246
:class: `feature_extraction.text.VectorizerMixin ` can now be pickled.
249
247
:pr: `14430 ` by :user: `Dillon Niederhut <deniederhut> `.
250
248
251
249
- |API | Deprecated unused `copy ` param for
252
- :meth: `feature_extraction.text.TfidfVectorizer.transform ` it will be
250
+ :meth: `feature_extraction.text.TfidfVectorizer.transform ` it will be
253
251
removed in v0.24. :pr: `14520 ` by
254
252
:user: `Guillem G. Subies <guillemgsubies> `.
255
253
@@ -270,8 +268,8 @@ Changelog
270
268
the kernel attribute is modified, but may result in a performance improvement.
271
269
:pr: `14378 ` by :user: `Masashi Shibata <c-bata> `.
272
270
273
- - |API | From version 0.24 :meth: `Kernel.get_params ` will raise an
274
- AttributeError rather than return None for parameters that are in the
271
+ - |API | From version 0.24 :meth: `gaussian_process.kernels. Kernel.get_params ` will raise an
272
+ `` AttributeError `` rather than return `` None `` for parameters that are in the
275
273
estimator's constructor but not stored as attributes on the instance.
276
274
:pr: `14464 ` by `Joel Nothman `_.
277
275
@@ -406,6 +404,10 @@ Changelog
406
404
precomputed distance matrix contains non-zero diagonal entries.
407
405
:pr: `12258 ` by :user: `Stephen Tierney <sjtrny> `.
408
406
407
+ - |API | ``scoring="neg_brier_score" `` should be used instead of
408
+ ``scoring="brier_score_loss" `` which is now deprecated.
409
+ :pr: `14898 ` by :user: `Stefan Matcovici <stefan-matcovici> `.
410
+
409
411
:mod: `sklearn.model_selection `
410
412
..............................
411
413
@@ -490,7 +492,7 @@ Changelog
490
492
performance improvement. :pr: `13987 ` by `Roman Yurchak `_.
491
493
492
494
- |Fix | KernelCenterer now throws error when fit on non-square
493
- class:`preprocessing.KernelCenterer `
495
+ : class: `preprocessing.KernelCenterer `
494
496
:pr: `14336 ` by :user: `Gregory Dexter <gdex1> `.
495
497
496
498
:mod: `sklearn.svm `
@@ -552,7 +554,7 @@ Changelog
552
554
index array-like across rows and columns. The column indexing can be done on
553
555
NumPy array, SciPy sparse matrix, and Pandas DataFrame. An additional
554
556
refactoring was done.
555
- :pr: `14035 ` and :pr: `14475 ` by `Guillaume Lemaitre <glemaitre> `.
557
+ :pr: `14035 ` and :pr: `14475 ` by :user: `Guillaume Lemaitre <glemaitre> `.
556
558
557
559
- |Enhancement | :func: `utils.extmath.safe_sparse_dot ` works between 3D+ ndarray
558
560
and sparse matrix.
@@ -562,13 +564,6 @@ Changelog
562
564
NaN to integer.
563
565
:pr: `14872 ` by `Roman Yurchak `_.
564
566
565
- :mod: `sklearn.metrics `
566
- ..................................
567
-
568
- - |API | scoring="neg_brier_score" should be used instead of
569
- scoring="brier_score_loss" which is now deprecated.
570
- :pr: `14898 ` by :user: `Stefan Matcovici <stefan-matcovici> `.
571
-
572
567
Miscellaneous
573
568
.............
574
569
@@ -595,11 +590,11 @@ These changes mostly affect library developers.
595
590
:pr: `13875 ` by `Trevor Stephens `_.
596
591
597
592
- `requires_positive_X ` estimator tag (for models that require
598
- X to be non-negative) is now used by ` check_estimator ` to make sure
599
- a proper error message is raised if X contains some negative entries.
593
+ X to be non-negative) is now used by :meth: ` utils.estimator_checks. check_estimator `
594
+ to make sure a proper error message is raised if X contains some negative entries.
600
595
:pr: `14680 ` by :user: `Alex Gramfort <agramfort> `.
601
596
602
597
- Added check that pairwise estimators raise error on non-square data
603
598
:pr: `14336 ` by :user: `Gregory Dexter <gdex1> `.
604
599
605
- - |Fix | Added check_transformer_data_not_an_array to checks where missing
600
+ - |Fix | Added `` check_transformer_data_not_an_array `` to checks where missing
0 commit comments