From c240a33c89d0c7e50cb74b4901c70ade50cee50d Mon Sep 17 00:00:00 2001 From: baam25simo Date: Wed, 8 Sep 2021 07:16:37 +0200 Subject: [PATCH 1/2] `Birch` removed from `DOCSTRING_IGNORE_LIST` in test_docstrings.py --- maint_tools/test_docstrings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/maint_tools/test_docstrings.py b/maint_tools/test_docstrings.py index 69478c846a4a3..295f2598cc78c 100644 --- a/maint_tools/test_docstrings.py +++ b/maint_tools/test_docstrings.py @@ -9,7 +9,6 @@ # List of modules ignored when checking for numpydoc validation. DOCSTRING_IGNORE_LIST = [ - "Birch", "GammaRegressor", "GaussianProcessRegressor", "GaussianRandomProjection", From a8419b46416df92b8310b191416927ca23cf7488 Mon Sep 17 00:00:00 2001 From: baam25simo Date: Wed, 8 Sep 2021 07:21:52 +0200 Subject: [PATCH 2/2] In `Birch`: period added in deprecated `fit_` and `partial_fit_` summaries. --- sklearn/cluster/_birch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sklearn/cluster/_birch.py b/sklearn/cluster/_birch.py index 38a57e4130d38..4f0e7200c2734 100644 --- a/sklearn/cluster/_birch.py +++ b/sklearn/cluster/_birch.py @@ -480,7 +480,7 @@ def __init__( # TODO: Remove in 1.2 # mypy error: Decorated property not supported @deprecated( # type: ignore - "`fit_` is deprecated in 1.0 and will be removed in 1.2" + "`fit_` is deprecated in 1.0 and will be removed in 1.2." ) @property def fit_(self): @@ -489,7 +489,7 @@ def fit_(self): # TODO: Remove in 1.2 # mypy error: Decorated property not supported @deprecated( # type: ignore - "`partial_fit_` is deprecated in 1.0 and will be removed in 1.2" + "`partial_fit_` is deprecated in 1.0 and will be removed in 1.2." ) @property def partial_fit_(self):