Skip to content

Commit

Permalink
smac debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Eden Wu committed Sep 1, 2024
1 parent 86e9346 commit 257cbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpha_automl/hyperparameter_tuning/smac.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 257cbf6

Please sign in to comment.