CovAt5Risk#

class torch_uncertainty.metrics.classification.CovAt5Risk(**kwargs)[source]#

Provide coverage at 5% Risk.

If there are multiple coverage values corresponding to 5% risk, the coverage at 5% risk is the maximum coverage value corresponding to 5% risk. If no there is no coverage value corresponding to the given risk, this metric returns float(“nan”).

This is a specific case of the more general CovAtxRisk metric, where the risk level is fixed at 5%.

See also

  • CovAtxRisk : Parent class, the CovAtxRisk metric