RiskAt80Cov#
- class torch_uncertainty.metrics.classification.RiskAt80Cov(**kwargs)[source]#
Compute the risk at 80% coverage.
The risk at 80% coverage is the error rate among the 80% most confident predictions. Samples are ranked by descending top-class confidence and the error rate is computed over the top 80%.
This is a specific case of the more general
RiskAtxCovmetric, where the coverage level is fixed at 80%.See also
RiskAtxCov: Parent class, the RiskAtxCov metric