Precision, recall, specificity, F1 score - an interactive demo

Move and resize the rectangles to see the stats update. Check out the source on github.

Samples
Positive
Classified Positive
True Positives
True Negatives
Precision
Recall/Sensitivity
Specificity
F1 Score or Dice
All samples (negative)
Positive
Classified Positive