Skip to main content

accuracy

Function accuracy 

Source
pub fn accuracy(truth: &[usize], predicted: &[usize]) -> Result<f64, ErrorsJSL>
Expand description

The fraction of labels predicted correctly.