Skip to content

Commit

Permalink
DOC parameter is called "sample_weight", not "sample_weights" (scikit…
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike authored and jnothman committed Oct 29, 2016
1 parent e841996 commit 4c8f12d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Trees and ensembles
by dynamically generating attribute ``estimators_samples_`` only when it is
needed. By `David Staub`_.

- Added ``n_jobs`` and ``sample_weights`` parameters for
- Added ``n_jobs`` and ``sample_weight`` parameters for
:class:`ensemble.VotingClassifier` to fit underlying estimators in parallel.
:issue:`5805` by `Ibraim Ganiev`_.

Expand All @@ -366,7 +366,7 @@ Linear, kernelized and related models
available in the multinomial case. :issue:`5251` by `Tom Dupre la Tour`_.

- :class:`linear_model.RANSACRegressor`, :class:`svm.LinearSVC` and
:class:`svm.LinearSVR` now support ``sample_weights``.
:class:`svm.LinearSVR` now support ``sample_weight``.
By `Imaculate`_.

- Add parameter ``loss`` to :class:`linear_model.RANSACRegressor` to measure the
Expand Down Expand Up @@ -882,7 +882,7 @@ Enhancements
- :class:`cluster.mean_shift_.MeanShift` now supports parallel execution,
as implemented in the ``mean_shift`` function. By `Martino Sorbaro`_.

- :class:`naive_bayes.GaussianNB` now supports fitting with ``sample_weights``.
- :class:`naive_bayes.GaussianNB` now supports fitting with ``sample_weight``.
By `Jan Hendrik Metzen`_.

- :class:`dummy.DummyClassifier` now supports a prior fitting strategy.
Expand Down

0 comments on commit 4c8f12d

Please sign in to comment.