The F1 score combines precision and recall using their harmonic mean. It is one standard metric for classification when each example has a ground-truth class and a predicted class. section 4.2.3
F1 is an alternative to averaging Boolean correctness scores. Class imbalance can make simple accuracy misleading, so choose a metric suited to the task; scikit-learn provides F1 and other standard metrics. section 4.2.3













