pub fn classification_report(
predictions: &[usize],
targets: &[usize],
labels: &[&str],
) -> Result<String, EvalError>Expand description
Generate a human-readable classification report (similar to scikit-learn’s
classification_report).
Example output:
precision recall f1-score support
cat 0.800 0.889 0.842 9
dog 0.857 0.750 0.800 8
accuracy 0.824 17