DEP remove public function download_20newsgroups
@@ -43,7 +43,6 @@ from .base import _fetch_remote
from .base import RemoteFileMetadata
from ..feature_extraction.text import CountVectorizer
from ..preprocessing import normalize
-from ..utils import deprecated
from ..utils import _joblib
from ..utils import check_random_state, Bunch
@@ -62,13 +61,6 @@ TRAIN_FOLDER = "20news-bydate-train"
TEST_FOLDER = "20news-bydate-test"
-@deprecated("Function 'download_20newsgroups' was renamed to "
- "'_download_20newsgroups' in version 0.20 and will be removed in "
- "release 0.22.")
-def download_20newsgroups(target_dir, cache_path):
- return _download_20newsgroups(target_dir, cache_path)
-
-
def _download_20newsgroups(target_dir, cache_path):
"""Download the 20 newsgroups data and stored it as a zipped pickle."""
train_path = os.path.join(target_dir, TRAIN_FOLDER)
