From ecb8b88de50747a36930531c62a2503a3d3833df Mon Sep 17 00:00:00 2001 From: Ilario Gelmetti Date: Tue, 22 Oct 2024 13:07:34 +0200 Subject: [PATCH] add required option for sklearn.model_selection._validation._score 1.4.0 --- summit/benchmarks/experimental_emulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/summit/benchmarks/experimental_emulator.py b/summit/benchmarks/experimental_emulator.py index 95ace8cb..0a223cc8 100644 --- a/summit/benchmarks/experimental_emulator.py +++ b/summit/benchmarks/experimental_emulator.py @@ -366,7 +366,7 @@ def test(self, **kwargs): scorers = check_scoring(predictor, scoring) else: scorers = _check_multimetric_scoring(predictor, scoring) - scores_list.append(_score(predictor, X_test, y_test, scorers)) + scores_list.append(_score(predictor, X_test, y_test, scorers, score_params = None)) scores_dict = _aggregate_score_dicts(scores_list) for name in scoring: scores = scores_dict.pop(name)