Skip to content

Commit

Permalink
updated sklearn's _check_fit_params function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ilario committed Oct 18, 2024
1 parent 1de682d commit ec85cd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions summit/benchmarks/experimental_emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ec85cd9

Please sign in to comment.