Metrics
Metrics to evaluate performance and to use as loss function.
Not all metrics are suitable as loss functions. Some are not differentiable or do not return a scalar.
Metrics are computed on the training and validation sets
every eval_freq steps, set in Experiment.
Output-Target Metrics
Metrics that are computed on the output of the model and the target.
- class optexp.metrics.LossLikeMetric[source]
Abstract base class for loss-like metrics, which take inputs and labels.