diff --git a/alpha_automl/hyperparameter_tuning/smac.py b/alpha_automl/hyperparameter_tuning/smac.py index c91ad6c..0874969 100644 --- a/alpha_automl/hyperparameter_tuning/smac.py +++ b/alpha_automl/hyperparameter_tuning/smac.py @@ -150,7 +150,7 @@ def train(self, config: Configuration, seed: int = 0) -> float: scoring=self.scorer, error_score='raise', ) - return 1 - np.mean(scores) + return np.mean(scores) def optimize_pipeline(self, pipeline): self.pipeline = pipeline