General Performance Evaluation Metrics#

Module containing functions to calculate common performance metrics.

Evaluation Challenges#

Evaluation(dataset, scoring, *[, validate_paras])

Gneric Evaluation challenge for all algorithms.

EvaluationCV(dataset, scoring, cv_iterator, *)

Generic Evaluation challenge for all algorithms using a cross-validation for scoring.

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.