General Performance Evaluation Metrics#

Module containing functions to calculate common performance metrics.

Functions#

precision_recall_f1_score(matches_df, *[, ...])

Compute precision, recall and F1-score.

precision_score(matches_df, *[, zero_division])

Compute the precision.

recall_score(matches_df, *[, zero_division])

Compute the recall.

specificity_score(matches_df, *[, ...])

Compute the specificity.

accuracy_score(matches_df, *[, ...])

Compute the specificity.

npv_score(matches_df, *[, ...])

Compute the negative predictive value (NPV).

f1_score(matches_df, *[, zero_division])

Compute the F1 score, also known as balanced F-score or F-measure.