Skip to main content

accepted_unsafe_rate

Function accepted_unsafe_rate 

Source
pub fn accepted_unsafe_rate(samples: &[CalibrationSample], theta: f64) -> f64
Expand description

Empirical accepted-unsafe rate R_n(theta): the fraction of calibration samples that would be accepted (score > theta) and are unsafe.