Optimizing multiple metrics
less than a minute
To optimize multiple metrics in a single run, use a weighted sum of the individual metrics.
metric_combined = 0.3 * metric_a + 0.2 * metric_b + ... + 1.5 * metric_n
wandb.log({"metric_combined": metric_combined})
Log the new combined metric and set it as the optimization objective:
metric:
name: metric_combined
goal: minimize
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.