MetricSelection

class MetricSelection(metric: str, prefix: str | None = None, maximize: bool = True)[source]

Bases: object

The selection of the metric to monitor.

Attributes Summary

maximize

whether to maximize or minimize the metric

prefix

the metric prefix; if None, do not check prefix

Attributes Documentation

Parameters:
  • metric (str)

  • prefix (str | None)

  • maximize (bool)

maximize: bool = True

whether to maximize or minimize the metric

prefix: str | None = None

the metric prefix; if None, do not check prefix