10000 [MRG] add whats_new entry for KMeans sample weight support by jnhansen · Pull Request #11119 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG] add whats_new entry for KMeans sample weight support #11119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions doc/whats_new/v0.20.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ Decomposition, manifold learning and clustering
clustering via ``linkage='single'``. :issue:`9372` by
:user:`Leland McInnes <lmcinnes>` and :user:`Steve Astels <sastels>`.

- :class:`cluster.KMeans` and :class:`cluster.MiniBatchKMeans` now support
sample weights via new parameter ``sample_weight`` in ``fit`` function.
:issue:`10933` by :user:`Johannes Hansen <jnhansen>`.

Metrics

- Partial AUC is available via ``max_fpr`` parameter in
Expand Down Expand Up @@ -160,7 +164,7 @@ Classifiers and regressors
:class:`neighbors.RadiusNeighborsClassifier` are now
parallelized according to ``n_jobs`` regardless of ``algorithm``.
:issue:`8003` by :user:`Joël Billaud <recamshak>`.

- Memory usage improvement for :func:`_class_means` and :func:`_class_cov`
in :class:`discriminant_analysis`.
:issue:`10898` by :user:`Nanxin Chen <bobchennan>`.`
Expand Down Expand Up @@ -190,7 +194,7 @@ Preprocessing

- :class:`preprocessing.PolynomialFeatures` now supports sparse input.
:issue:`10452` by :user:`Aman Dalmia <dalmia>` and `Joel Nothman`_.

- Enable the call to :meth:`get_feature_names` in unfitted
:class:`feature_extraction.text.CountVectorizer` initialized with a
vocabulary. :issue:`10908` by :user:`Mohamed Maskani <maskani-moh>`.
Expand Down Expand Up @@ -611,3 +615,8 @@ Changes to estimator checks
- Add tests in :func:`estimator_checks.check_estimator` to check that an
estimator can handle read-only memmap input data. :issue:`10663` by
:user:`Arthur Mensch <arthurmensch>` and :user:`Loïc Estève <lesteve>`.

- :func:`estimator_checks.check_sample_weights_pandas_series` now uses 8 rather
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure we usually document utils but I guess there's no harm in documenting this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree this is not a very interesting change, but given that there was a dedicated section for changes to estimator checks already I added it

than 6 samples to accommodate for the default number of clusters in
:class:`cluster.KMeans`.
:issue:`10933` by :user:`Johannes Hansen <jnhansen>`.
0