autointent.metrics.ScoringMetricFnWithOOS#
- class autointent.metrics.ScoringMetricFnWithOOS#
Bases:
ProtocolProtocol for scoring metrics that accept OOS-bearing labels.
Returned by ignore_oos: the decorator filters out None entries from labels (and their paired score rows) before delegating to the underlying ScoringMetricFn.