From cbc4c97dae23be8118b503dd3d12c512323bf449 Mon Sep 17 00:00:00 2001 From: Thomas Fan Date: Thu, 9 May 2019 10:02:23 -0400 Subject: [PATCH 1/2] DOC Fix reference --- doc/whats_new/v0.21.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/whats_new/v0.21.rst b/doc/whats_new/v0.21.rst index 73ebaacfd44a0..87f9ba433c6eb 100644 --- a/doc/whats_new/v0.21.rst +++ b/doc/whats_new/v0.21.rst @@ -607,7 +607,7 @@ Support for Python 3.4 and below has been officially dropped. - |Feature| Classes :class:`~model_selection.GridSearchCV` and :class:`~model_selection.RandomizedSearchCV` now allow for refit=callable to add flexibility in identifying the best estimator. - See :doc:`/auto_examples/model_selection/plot_grid_search_refit_callable.py`. + See :ref:`sphx_glr_auto_examples_model_selection_plot_grid_search_refit_callable.py`. :pr:`11354` by :user:`Wenhao Zhang `, `Joel Nothman`_ and :user:`Adrin Jalali `. From 93b3386c7b1405e3e2f1d1b2bbc1d88bb7b68d24 Mon Sep 17 00:00:00 2001 From: Thomas Fan Date: Thu, 9 May 2019 11:05:23 -0400 Subject: [PATCH 2/2] DOC Fixes more references --- doc/modules/classes.rst | 1 + doc/whats_new/v0.21.rst | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 923b53b593a3d..ad120ed2d76b2 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -346,6 +346,7 @@ Samples generator decomposition.dict_learning decomposition.dict_learning_online decomposition.fastica + decomposition.non_negative_factorization decomposition.sparse_encode .. _lda_ref: diff --git a/doc/whats_new/v0.21.rst b/doc/whats_new/v0.21.rst index 87f9ba433c6eb..87e9fdbb13891 100644 --- a/doc/whats_new/v0.21.rst +++ b/doc/whats_new/v0.21.rst @@ -38,7 +38,7 @@ random sampling procedures. seed, including :class:`linear_model.LogisticRegression`, :class:`linear_model.LogisticRegressionCV`, :class:`linear_model.Ridge`, and :class:`linear_model.RidgeCV` with 'sag' solver. |Fix| -- :class:`linear_model.ridge.RidgeCV` when using generalized cross-validation +- :class:`linear_model.RidgeCV` when using generalized cross-validation with sparse inputs. |Fix| @@ -504,7 +504,7 @@ Support for Python 3.4 and below has been officially dropped. in version 0.21 and will be removed in version 0.23. :pr:`12821` by :user:`Nicolas Hug `. -- |Fix| :class:`linear_model.ridge.RidgeCV` with generalized cross-validation +- |Fix| :class:`linear_model.RidgeCV` with generalized cross-validation now correctly fits an intercept when ``fit_intercept=True`` and the design matrix is sparse. :issue:`13350` by :user:`Jérôme Dockès ` @@ -581,11 +581,11 @@ Support for Python 3.4 and below has been officially dropped. in version 0.21 and will be removed in version 0.23. :pr:`10580` by :user:`Reshama Shaikh ` and :user:`Sandra Mitrovic `. -- |Fix| The function :func:`euclidean_distances`, and therefore - several estimators with ``metric='euclidean'``, suffered from numerical - precision issues with ``float32`` features. Precision has been increased at the - cost of a small drop of performance. :pr:`13554` by :user:`Celelibi` and - :user:`Jérémie du Boisberranger `. +- |Fix| The function :func:`metrics.pairwise.euclidean_distances`, and + therefore several estimators with ``metric='euclidean'``, suffered from + numerical precision issues with ``float32`` features. Precision has been + increased at the cost of a small drop of performance. :pr:`13554` by + :user:`Celelibi` and :user:`Jérémie du Boisberranger `. - |API| :func:`metrics.jaccard_similarity_score` is deprecated in favour of the more consistent :func:`metrics.jaccard_score`. The former behavior for