MetricsΒΆ

f_measure(precision, recall[, beta]) F-measure from precision and recall scores.
precision(Ntp, Nsys[, eps]) Precision.
recall(Ntp, Nref[, eps]) Recall.
accuracy(Ntp, Ntn, Nfp, Nfn[, eps]) Accuracy
accuracy2(Ntp, Nfp, Nfn[, eps]) Accuracy
balanced_accuracy(sensitivity, specificity) Balanced accuracy
sensitivity(Ntp, Nfn[, eps]) Sensitivity
specificity(Ntn, Nfp[, eps]) Specificity
error_rate([substitution_rate_value, ...]) Error rate
substitution_rate(Nref, Nsubstitutions[, eps]) Substitution rate
deletion_rate(Nref, Ndeletions[, eps]) Deletion rate
insertion_rate(Nref, Ninsertions[, eps]) Insertion rate
equal_error_rate(y_true, y_score[, eps]) Equal error rate (EER)