@@ -112,6 +112,10 @@ Decomposition, manifold learning and clustering
112
112
clustering via ``linkage='single' ``. :issue: `9372 ` by
113
113
:user: `Leland McInnes <lmcinnes> ` and :user: `Steve Astels <sastels> `.
114
114
115
+ - :class: `cluster.KMeans ` and :class: `cluster.MiniBatchKMeans ` now support
116
+ sample weights via new parameter ``sample_weight `` in ``fit `` function.
117
+ :issue: `10933 ` by :user: `Johannes Hansen <jnhansen> `.
118
+
115
119
Metrics
116
120
117
121
- Partial AUC is available via ``max_fpr `` parameter in
@@ -160,7 +164,7 @@ Classifiers and regressors
160
164
:class: `neighbors.RadiusNeighborsClassifier ` are now
161
165
parallelized according to ``n_jobs `` regardless of ``algorithm ``.
162
166
:issue: `8003 ` by :user: `Joël Billaud <recamshak> `.
163
-
167
+
164
168
- Memory usage improvement for :func: `_class_means ` and :func: `_class_cov `
165
169
in :class: `discriminant_analysis `.
166
170
:issue: `10898 ` by :user: `Nanxin Chen <bobchennan> `.`
@@ -190,7 +194,7 @@ Preprocessing
190
194
191
195
- :class: `preprocessing.PolynomialFeatures ` now supports sparse input.
192
196
:issue: `10452 ` by :user: `Aman Dalmia <dalmia> ` and `Joel Nothman `_.
193
-
197
+
194
198
- Enable the call to :meth: `get_feature_names ` in unfitted
195
199
:class: `feature_extraction.text.CountVectorizer ` initialized with a
196
200
vocabulary. :issue: `10908 ` by :user: `Mohamed Maskani <maskani-moh> `.
@@ -611,3 +615,8 @@ Changes to estimator checks
611
615
- Add tests in :func: `estimator_checks.check_estimator ` to check that an
612
616
estimator can handle read-only
5E33
memmap input data. :issue: `10663 ` by
613
617
:user: `Arthur Mensch <arthurmensch> ` and :user: `Loïc Estève <lesteve> `.
618
+
619
+ - :func: `estimator_checks.check_sample_weights_pandas_series ` now uses 8 rather
620
+ than 6 samples to accommodate for the default number of clusters in
621
+ :class: `cluster.KMeans `.
622
+ :issue: `10933 ` by :user: `Johannes Hansen <jnhansen> `.
0 commit comments