Skip to main content

choice_confidence

Function choice_confidence 

Source
pub fn choice_confidence(probabilities: &[f32]) -> f32
Expand description

Choice confidence: (p_max − 1/n) / (1 − 1/n) — the peak probability scaled against the uniform floor. A single-option distribution is certain by construction (1.0).