Skip to content

Commit 36acda2

Browse files
committed
Merge pull request scikit-learn#5708 from amueller/0.17_whatsnew
[MRG] Add missing whatsnew entries for 0.17
2 parents 22fc441 + 2f2adcc commit 36acda2

File tree

1 file changed

+103
-1
lines changed

1 file changed

+103
-1
lines changed

doc/whats_new.rst

Lines changed: 103 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ Enhancements
170170
- Added a ``fit_predict`` method for :class:`mixture.GMM` and subclasses.
171171
By `Cory Lorenz`_.
172172

173-
- Added the :func:`metrics.label_ranking_loss` metrics.
173+
- Added the :func:`metrics.label_ranking_loss` metric.
174174
By `Arnaud Joly`_.
175175

176+
- Added the :func:`metrics.cohen_kappa_score` metric.
177+
176178
- Added a ``warm_start`` constructor parameter to the bagging ensemble
177179
models to increase the size of the ensemble. By
178180
`Tim Head`_.
@@ -227,6 +229,10 @@ Enhancements
227229
- RCV1 dataset loader (:func:`sklearn.datasets.fetch_rcv1`).
228230
By `Tom Dupre la Tour`_.
229231

232+
- The "Wisconsin Breast Cancer" classical two-class classification dataset
233+
is now included in scikit-learn, available with
234+
:fun:`sklearn.dataset.load_breast_cancer`.
235+
230236
- Upgraded to joblib 0.9.3 to benefit from the new automatic batching of
231237
short tasks. This makes it possible for scikit-learn to benefit from
232238
parallelism when many very short tasks are executed in parallel, for
@@ -306,6 +312,27 @@ Enhancements
306312

307313
- Added :func:`metrics.pairwise.laplacian_kernel`. By `Clyde Fare <https://github.com/Clyde-fare>`_.
308314

315+
- :class:`covariance.GraphLasso` allows separate control of the convergence criterion
316+
for the Elastic-Net subproblem via the ``enet_tol`` parameter.
317+
318+
- Improved verbosity in :class:`decomposition.DictinaryLearning`.
319+
320+
- :class:`ensemble.RandomForestClassifier` and
321+
:class:`ensemble.RandomForestRegressor` no longer explicitly store the
322+
samples used in bagging, resulting in a much reduced memory footprint for
323+
storing random forest models.
324+
325+
- Added ``positive`` option to :class:`linear_model.Lars` and
326+
:func:`linear_model.lars_path` to force coefficients to be positive.
327+
(`#5131 <https://github.com/scikit-learn/scikit-learn/pull/5131>`)
328+
329+
- Added the ``X_norm_squared`` parameter to :func:`metrics.pairwise.euclidean_distances`
330+
to provide precomputed squared norms for ``X``.
331+
332+
- Added the ``fit_predict`` method to :class:`pipeline.Pipeline`.
333+
334+
- Added the :func:`preprocessing.min_max_scale` function.
335+
309336
Bug fixes
310337
.........
311338
- Fixed non-determinism in :class:`dummy.DummyClassifier` with sparse
@@ -368,6 +395,33 @@ Bug fixes
368395
platform dependent output, and failed on `fit_transform`.
369396
By `Arthur Mensch`_.
370397

398+
- Fixes to the ``Bunch`` class used to store datasets.
399+
400+
- Fixed :func:`ensemble.plot_partial_dependence` ignoring the
401+
``percentiles`` parameter.
402+
403+
- Providing a ``dict`` as vocabulary in ``CountVectorizer`` no longer
404+
leads to inconsistent results when pickling.
405+
406+
- Fixed the conditions on when a precomputed Gram matrix needs to
407+
be recomputed in :class:`linear_model.LinearRegression`,
408+
:class:`linear_model.OrthogonalMatchingPursuit`,
409+
:class:`linear_model.Lasso` and :class:`linear_model.ElasticNet`.
410+
411+
- Fixed inconsistent memory layout in the coordinate descent solver
412+
that affected :class:`linear_model.DictionaryLearning` and
413+
:class:`covariance.GraphLasso`. (`#5337 <https://github.com/scikit-learn/scikit-learn/pull/5337>`)
414+
By `Oliver Grisel`_.
415+
416+
- :class:`manifold.LocallyLinearEmbedding` no longer ignores the ``reg``
417+
parameter.
418+
419+
- Nearest Neighbor estimators with custom distance metrics can now be pickled.
420+
(`4362 <https://github.com/scikit-learn/scikit-learn/pull/4362>`)
421+
422+
- Fixed a bug in :class:`pipeline.FeatureUnion` where ``transformer_weights``
423+
were not properly handled when performing grid-searches.
424+
371425
- Fixed a bug in :class:`linear_model.LogisticRegression` and
372426
:class:`linear_model.LogisticRegressionCV` when using
373427
``class_weight='balanced'```or ``class_weight='auto'``.
@@ -414,6 +468,54 @@ API changes summary
414468
features (according to `coefs_` or `feature_importances_`)
415469
which are below a certain threshold value instead.
416470

471+
- :class:`cluster.KMeans` re-runs cluster-assignments in case of non-convergence,
472+
to ensure consistency of ``predict(X)`` and ``labels_``. By `Vighnesh Birodkar`_.
473+
474+
- Classifier and Regressor models are now tagged as such using the
475+
``_estimator_type`` attribute.
476+
477+
- Cross-validation iterators allways provide indices into training and test set,
478+
not boolean masks.
479+
480+
- The ``decision_function`` on all regressors was deprecated and will be
481+
removed in 0.19. Use ``predict`` instead.
482+
483+
- :func:`datasets.load_lfw_pairs` is deprecated and will be removed in 0.19.
484+
Use :func:`datasets.fetch_lfw_pairs` instead.
485+
486+
- The deprecated ``hmm`` module was removed.
487+
488+
- The deprecated ``Bootstrap`` cross-validation iterator was removed.
489+
490+
- The deprecated ``Ward`` and ``WardAgglomerative`` classes have been removed.
491+
Use :class:`clustering.AgglomerativeClustering` instead.
492+
493+
- :func:`cross_validation.check_cv` is now a public function.
494+
495+
- The property ``residues_`` of :class:`linear_model.LinearRegression` is deprecated
496+
and will be removed in 0.19.
497+
498+
- The deprecated ``n_jobs`` parameter of :class:`linear_model.LinearRegression` has been moved
499+
to the constructor.
500+
501+
- Removed deprecated ``class_weight`` parameter from :class:`linear_model.SGDClassifier`'s ``fit``
502+
method. Use the construction parameter instead.
503+
504+
- The deprecated support for the sequence of sequences (or list of lists) multilabel
505+
format was removed. To convert to and from the supported binary
506+
indicator matrix format, use
507+
:class:`MultiLabelBinarizer <preprocessing.MultiLabelBinarizer>`.
508+
509+
- The behavior of calling the ``inverse_transform`` method of ``Pipeline.pipeline`` will
510+
change in 0.19. It will no longer reshape one-dimensional input to two-dimensional input.
511+
512+
- The deprecated attributes ``indicator_matrix_``, ``multilabel_`` and ``classes_`` of
513+
:class:`preprocessing.LabelBinarizer` were removed.
514+
515+
- Using ``gamma=0`` in :class:`svm.SVC` and :class:`svm.SVR` to automatically set the
516+
gamma to ``1. / n_features`` is deprecated and will be removed in 0.19.
517+
Use ``gamma="auto"`` instead.
518+
417519
.. _changes_0_1_16:
418520

419521
Version 0.16.1

0 commit comments

Comments
 (0)