F-score measure
Classification results can be presented as a confusion matrix:

An example for cancer:

Then we can compute different metrics:
- Sensitivity or Recall:
- Specificity:
- Precision:
- Accuracy:
We can visualize them nicely with this schema:

Two interesting metrics are Recall and Precision: we often want to maximize both, but they are often opposed (if we increase one, the other is decreased). To solve this paradox, we can use a metric that combine both of them: this is the F1-score.
We can then make it more general by pondering the Recall and the Precision with a coefficient :

