From 006aacb58e4aa186f15db7854de8ec8501462a47 Mon Sep 17 00:00:00 2001 From: Maniteja Nandana Date: Tue, 26 Jan 2016 11:02:51 +0530 Subject: [PATCH] MAINT: Print info message for fetch_20newsgroups Minor change to give a simple message to inform the user about downloading the dataset and that it is going to take some time. --- sklearn/datasets/twenty_newsgroups.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sklearn/datasets/twenty_newsgroups.py b/sklearn/datasets/twenty_newsgroups.py index b8f4e1da48962..a62c1241276d1 100644 --- a/sklearn/datasets/twenty_newsgroups.py +++ b/sklearn/datasets/twenty_newsgroups.py @@ -219,6 +219,7 @@ def fetch_20newsgroups(data_home=None, subset='train', categories=None, if cache is None: if download_if_missing: + print('Downloading 20news dataset. This may take a few minutes.') cache = download_20newsgroups(target_dir=twenty_home, cache_path=cache_path) else: