pub fn raps_set(
probs: &[f64],
qhat: f64,
k_reg: usize,
lambda: f64,
) -> Vec<usize>Expand description
RAPS prediction set: labels in rank order while the penalized cumulative mass stays
below qhat; the crossing label is included.