Skip to main content

accuracy_at_coverage

Function accuracy_at_coverage 

Source
pub fn accuracy_at_coverage(
    curve: &[RiskCoverage],
    target_coverage: f64,
) -> Option<f64>
Expand description

Accuracy at the largest coverage <= target_coverage (step semantics: a threshold policy realizes only the curve’s own points). Returns None if the target is below the smallest realized coverage.