From b47b26440922e94435566ceda23a43eb0cdd3dc8 Mon Sep 17 00:00:00 2001 From: Ashish Date: Sat, 20 Feb 2021 16:51:48 +0530 Subject: [PATCH 1/4] Fixed a typo in the documentation --- sklearn/model_selection/_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/model_selection/_search.py b/sklearn/model_selection/_search.py index e9c498816eae2..febbc61363f35 100644 --- a/sklearn/model_selection/_search.py +++ b/sklearn/model_selection/_search.py @@ -1006,7 +1006,7 @@ class GridSearchCV(BaseSearchCV): - a single string (see :ref:`scoring_parameter`); - a callable (see :ref:`scoring`) that returns a single value. - If `scoring` reprents multiple scores, one can use: + If `scoring` represents multiple scores, one can use: - a list or tuple of unique strings; - a callable returning a dictionary where the keys are the metric From d39747142cc9586a143845cee3f801718eb6d31e Mon Sep 17 00:00:00 2001 From: Ashish Date: Sat, 20 Feb 2021 17:47:18 +0530 Subject: [PATCH 2/4] Fixed a typo --- sklearn/model_selection/_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/model_selection/_validation.py b/sklearn/model_selection/_validation.py index 8452c4eafbf90..63f9a53fcf91f 100644 --- a/sklearn/model_selection/_validation.py +++ b/sklearn/model_selection/_validation.py @@ -74,7 +74,7 @@ def cross_validate(estimator, X, y=None, *, groups=None, scoring=None, cv=None, - a single string (see :ref:`scoring_parameter`); - a callable (see :ref:`scoring`) that returns a single value. - If `scoring` reprents multiple scores, one can use: + If `scoring` represents multiple scores, one can use: - a list or tuple of unique strings; - a callable returning a dictionary where the keys are the metric From aff995eb88191bfebff7acf48308488af4810cb2 Mon Sep 17 00:00:00 2001 From: Ashish Date: Sat, 20 Feb 2021 17:48:29 +0530 Subject: [PATCH 3/4] Fixed another typo --- sklearn/model_selection/_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/model_selection/_search.py b/sklearn/model_selection/_search.py index febbc61363f35..abe3b87488d8c 100644 --- a/sklearn/model_selection/_search.py +++ b/sklearn/model_selection/_search.py @@ -1346,7 +1346,7 @@ class RandomizedSearchCV(BaseSearchCV): - a single string (see :ref:`scoring_parameter`); - a callable (see :ref:`scoring`) that returns a single value. - If `scoring` reprents multiple scores, one can use: + If `scoring` represents multiple scores, one can use: - a list or tuple of unique strings; - a callable returning a dictionary where the keys are the metric From 3b338c2c9522cd891f147aaf8c5175f311b18db0 Mon Sep 17 00:00:00 2001 From: Ashish Date: Sat, 20 Feb 2021 17:49:26 +0530 Subject: [PATCH 4/4] Fixed a typo --- sklearn/inspection/_permutation_importance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/inspection/_permutation_importance.py b/sklearn/inspection/_permutation_importance.py index 9f2bdb0916254..2a7b6cd23147b 100644 --- a/sklearn/inspection/_permutation_importance.py +++ b/sklearn/inspection/_permutation_importance.py @@ -115,7 +115,7 @@ def permutation_importance(estimator, X, y, *, scoring=None, n_repeats=5, - a single string (see :ref:`scoring_parameter`); - a callable (see :ref:`scoring`) that returns a single value. - If `scoring` reprents multiple scores, one can use: + If `scoring` represents multiple scores, one can use: - a list or tuple of unique strings; - a callable returning a dictionary where the keys are the metric