Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    scored: &[(f64, bool)],
    threshold_spam: f64,
    threshold_unsure: f64,
) -> Numbers
Expand description

Evaluates (probability of spam, is spam) pairs at the two thresholds.