From ec85cd9ecfb5a1ecbd75c6e56f49464dd7cdda90 Mon Sep 17 00:00:00 2001 From: Ilario Gelmetti Date: Fri, 18 Oct 2024 14:17:21 +0200 Subject: [PATCH] updated sklearn's _check_fit_params function name --- summit/benchmarks/experimental_emulator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/summit/benchmarks/experimental_emulator.py b/summit/benchmarks/experimental_emulator.py index 6201b313..e8b5c3eb 100644 --- a/summit/benchmarks/experimental_emulator.py +++ b/summit/benchmarks/experimental_emulator.py @@ -37,7 +37,7 @@ _deprecate_positional_args, indexable, check_is_fitted, - _check_fit_params, + _check_method_params, ) from sklearn.utils import check_array, _safe_indexing from sklearn.utils.fixes import delayed @@ -1158,7 +1158,7 @@ def fit(self, X, y=None, *, groups=None, **fit_params): refit_metric = self.refit X, y, groups = indexable(X, y, groups) - fit_params = _check_fit_params(X, fit_params) + fit_params = _check_method_params(X, fit_params) cv_orig = check_cv(self.cv, y, classifier=is_classifier(estimator)) n_splits = cv_orig.get_n_splits(X, y, groups)