From 1221f4cea888dc2460d005ae34f5629950bd6fe8 Mon Sep 17 00:00:00 2001 From: Kobi Felton Date: Tue, 14 Jun 2022 12:40:37 +0100 Subject: [PATCH] Remove _check_param_grid (#188) --- summit/benchmarks/experimental_emulator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/summit/benchmarks/experimental_emulator.py b/summit/benchmarks/experimental_emulator.py index af1b9c92..e94e52a7 100644 --- a/summit/benchmarks/experimental_emulator.py +++ b/summit/benchmarks/experimental_emulator.py @@ -18,7 +18,7 @@ GridSearchCV, ParameterGrid, ) -from sklearn.model_selection._search import BaseSearchCV, _check_param_grid +from sklearn.model_selection._search import BaseSearchCV from sklearn.base import ( BaseEstimator, RegressorMixin, @@ -1118,7 +1118,6 @@ def __init__( return_train_score=return_train_score, ) self.param_grid = param_grid - _check_param_grid(param_grid) def _run_search(self, evaluate_candidates): """Search all candidates in param_grid"""