Skip to main content

rps_nonconformity

Function rps_nonconformity 

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

RPS-based ordinal nonconformity: the ranked probability score of the candidate label against the predicted histogram (Haas et al. 2026). Cheap and model-agnostic; the induced sets are median-centered and contiguous by construction.