Skip to content

Commit

Permalink
fix(lcbench-yahpo): Fix metric bounds for balanced_acc
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Jan 26, 2024
1 parent 40d6325 commit 3a04503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mfpbench/yahpo/benchmarks/lcbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class LCBenchResult(Result[LCBenchConfig, int]):
default_cost_metric: ClassVar[str] = "time"
metric_defs: ClassVar[Mapping[str, Metric]] = {
"val_accuracy": Metric(minimize=False, bounds=(0, 100)),
"val_balanced_accuracy": Metric(minimize=False, bounds=(0, 100)),
"val_balanced_accuracy": Metric(minimize=False, bounds=(0, 1)),
"val_cross_entropy": Metric(minimize=True, bounds=(0, np.inf)),
"test_balanced_accuracy": Metric(minimize=False, bounds=(0, 100)),
"test_balanced_accuracy": Metric(minimize=False, bounds=(0, 1)),
"test_cross_entropy": Metric(minimize=True, bounds=(0, np.inf)),
"time": Metric(minimize=True, bounds=(0, np.inf)),
}
Expand Down

0 comments on commit 3a04503

Please sign in to comment.