Skip to main content

aps_nonconformity

Function aps_nonconformity 

Source
pub fn aps_nonconformity(probs: &[f64], label: usize) -> f64
Expand description

APS nonconformity: cumulative probability mass, in descending-probability order, up to and including the realized label. Deterministic (the full label mass is included), hence slightly conservative vs the randomized form.