metrics/f1_score library

Functions

f1Score(List<int> yTrue, List<int> yPred, {int positiveLabel = 1}) double
F1 Score is the harmonic mean of precision and recall.