From 3003da70752b81f7824f472ab2f01f740916612f Mon Sep 17 00:00:00 2001 From: chkoar <chkoar@users.noreply.github.com> Date: Mon, 3 Apr 2017 13:20:04 +0300 Subject: [PATCH] DOC: Correct scikit-learn name in comments (#8681) --- build_tools/travis/test_script.sh | 2 +- sklearn/datasets/california_housing.py | 2 +- sklearn/datasets/covtype.py | 2 +- sklearn/datasets/kddcup99.py | 2 +- sklearn/datasets/lfw.py | 4 ++-- sklearn/datasets/mldata.py | 2 +- sklearn/datasets/olivetti_faces.py | 2 +- sklearn/datasets/rcv1.py | 2 +- sklearn/datasets/species_distributions.py | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build_tools/travis/test_script.sh b/build_tools/travis/test_script.sh index 58f49f4cbb..df3add34f0 100755 --- a/build_tools/travis/test_script.sh +++ b/build_tools/travis/test_script.sh @@ -26,7 +26,7 @@ run_tests() { else TEST_CMD="nosetests --with-timer --timer-top-n 20" fi - # Get into a temp directory to run test from the installed scikit learn and + # Get into a temp directory to run test from the installed scikit-learn and # check if we do not leave artifacts mkdir -p $TEST_DIR # We need the setup.cfg for the nose settings diff --git a/sklearn/datasets/california_housing.py b/sklearn/datasets/california_housing.py index 8db5e3139d..a9f21510b0 100644 --- a/sklearn/datasets/california_housing.py +++ b/sklearn/datasets/california_housing.py @@ -58,7 +58,7 @@ def fetch_california_housing(data_home=None, download_if_missing=True): ---------- data_home : optional, default: None Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. download_if_missing : optional, True by default If False, raise a IOError if the data is not locally available diff --git a/sklearn/datasets/covtype.py b/sklearn/datasets/covtype.py index a165f7c054..6d34cd3575 100644 --- a/sklearn/datasets/covtype.py +++ b/sklearn/datasets/covtype.py @@ -50,7 +50,7 @@ def fetch_covtype(data_home=None, download_if_missing=True, ---------- data_home : string, optional Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. download_if_missing : boolean, default=True If False, raise a IOError if the data is not locally available diff --git a/sklearn/datasets/kddcup99.py b/sklearn/datasets/kddcup99.py index 4be96e4560..762ca58a63 100644 --- a/sklearn/datasets/kddcup99.py +++ b/sklearn/datasets/kddcup99.py @@ -228,7 +228,7 @@ def _fetch_brute_kddcup99(subset=None, data_home=None, data_home : string, optional Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. download_if_missing : boolean, default=True If False, raise a IOError if the data is not locally available diff --git a/sklearn/datasets/lfw.py b/sklearn/datasets/lfw.py index e3406f9e3c..50834f7705 100644 --- a/sklearn/datasets/lfw.py +++ b/sklearn/datasets/lfw.py @@ -251,7 +251,7 @@ def fetch_lfw_people(data_home=None, funneled=True, resize=0.5, ---------- data_home : optional, default: None Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. funneled : boolean, optional, default: True Download and use the funneled variant of the dataset. @@ -414,7 +414,7 @@ def fetch_lfw_pairs(subset='train', data_home=None, funneled=True, resize=0.5, data_home : optional, default: None Specify another download and cache folder for the datasets. By - default all scikit learn data is stored in '~/scikit_learn_data' + default all scikit-learn data is stored in '~/scikit_learn_data' subfolders. funneled : boolean, optional, default: True diff --git a/sklearn/datasets/mldata.py b/sklearn/datasets/mldata.py index f5377f203e..9b4a8e3a1d 100644 --- a/sklearn/datasets/mldata.py +++ b/sklearn/datasets/mldata.py @@ -78,7 +78,7 @@ def fetch_mldata(dataname, target_name='label', data_name='data', data_home : optional, default: None Specify another download and cache folder for the data sets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. Returns ------- diff --git a/sklearn/datasets/olivetti_faces.py b/sklearn/datasets/olivetti_faces.py index 9ecab18c0e..7dfd4dec16 100644 --- a/sklearn/datasets/olivetti_faces.py +++ b/sklearn/datasets/olivetti_faces.py @@ -61,7 +61,7 @@ def fetch_olivetti_faces(data_home=None, shuffle=False, random_state=0, ---------- data_home : optional, default: None Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. shuffle : boolean, optional If True the order of the dataset is shuffled to avoid having diff --git a/sklearn/datasets/rcv1.py b/sklearn/datasets/rcv1.py index ae45764b40..0933155c0a 100644 --- a/sklearn/datasets/rcv1.py +++ b/sklearn/datasets/rcv1.py @@ -57,7 +57,7 @@ def fetch_rcv1(data_home=None, subset='all', download_if_missing=True, ---------- data_home : string, optional Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. subset : string, 'train', 'test', or 'all', default='all' Select the dataset to load: 'train' for the training set diff --git a/sklearn/datasets/species_distributions.py b/sklearn/datasets/species_distributions.py index f34eb92d33..14b5b38d0c 100644 --- a/sklearn/datasets/species_distributions.py +++ b/sklearn/datasets/species_distributions.py @@ -140,7 +140,7 @@ def fetch_species_distributions(data_home=None, ---------- data_home : optional, default: None Specify another download and cache folder for the datasets. By default - all scikit learn data is stored in '~/scikit_learn_data' subfolders. + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. download_if_missing : optional, True by default If False, raise a IOError if the data is not locally available -- GitLab