Skip to content

Commit

Permalink
Merge pull request #64 from polaris-hub/minor/all-to-aggregated
Browse files Browse the repository at this point in the history
Minor: Change 'all' to 'aggregated'
  • Loading branch information
cwognum authored Dec 3, 2023
2 parents c6f758b + 6c536f2 commit 04b3835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polaris/benchmark/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def evaluate(self, y_pred: PredictionsType) -> BenchmarkResults:
if metric.is_multitask:
# Multi-task but with a metric across targets
score = metric(y_true=y_true_subset, y_pred=y_pred[test_label])
scores.loc[len(scores)] = (test_label, "all", metric, score)
scores.loc[len(scores)] = (test_label, "aggregated", metric, score)
continue

if not isinstance(y_true_subset, dict):
Expand Down

0 comments on commit 04b3835

Please sign in to comment.