F1 score

For some binary classification problem where we are using to predict for some testing data we define the F1 score to be the harmonic mean of precision and recall. That is