From 6fa459d8b8ee60f9e158719823c7db0d01dfcc71 Mon Sep 17 00:00:00 2001 From: Randall Boyes <33524191+rdboyes@users.noreply.github.com> Date: Wed, 29 Sep 2021 11:05:37 -0400 Subject: [PATCH 1/2] Fix Typo in datasets/_base.py The deprecation notice for the boston housing dataset had a sentence that read "in this case special case ..." - changed to "in this special case ..." --- sklearn/datasets/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/datasets/_base.py b/sklearn/datasets/_base.py index 4f83a25fcb9b5..6bb90272fc91d 100644 --- a/sklearn/datasets/_base.py +++ b/sklearn/datasets/_base.py @@ -1120,7 +1120,7 @@ def load_linnerud(*, return_X_y=False, as_frame=False): dataset unless the purpose of the code is to study and educate about ethical issues in data science and machine learning. - In this case special case, you can fetch the dataset from the original + In this special case, you can fetch the dataset from the original source:: import pandas as pd From b7ceb77ada34428a10caa83cb5bd5a0c409458c6 Mon Sep 17 00:00:00 2001 From: Randall Boyes <33524191+rdboyes@users.noreply.github.com> Date: Wed, 29 Sep 2021 17:05:13 -0400 Subject: [PATCH 2/2] Update _base.py --- sklearn/datasets/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/datasets/_base.py b/sklearn/datasets/_base.py index 6bb90272fc91d..b5f6fd22f9c33 100644 --- a/sklearn/datasets/_base.py +++ b/sklearn/datasets/_base.py @@ -1177,7 +1177,7 @@ def load_boston(*, return_X_y=False): this dataset unless the purpose of the code is to study and educate about ethical issues in data science and machine learning. - In this case special case, you can fetch the dataset from the original + In this special case, you can fetch the dataset from the original source:: import pandas as pd # doctest: +SKIP