From 942a3d38399c3256468e9036b1f4b91475ae3597 Mon Sep 17 00:00:00 2001 From: Andrey Stebenkov Date: Mon, 11 Sep 2023 17:52:18 +0300 Subject: [PATCH] bug fixes --- .../models/boostings_implementations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py b/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py index ac71397ec8..3d936a5145 100644 --- a/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py +++ b/fedot/core/operations/evaluation/operation_implementations/models/boostings_implementations.py @@ -49,7 +49,7 @@ def predict(self, input_data: InputData): def check_and_update_params(self): n_jobs = self.params.get('n_jobs') - self.params.update({'thread_count': n_jobs}) + self.params.update(thread_count=n_jobs) use_best_model = self.params.get('use_best_model') early_stopping_rounds = self.params.get('early_stopping_rounds')