Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    predictions_text: &str,
    gold_text: &str,
    bins: usize,
) -> Result<Report>
Expand description

Evaluate predictions against gold: join, validate, and summarise every stratum plus the overall one.

Fails when bins is zero (there would be no reliability curve to speak of).