HeadnotesMany equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!
Now let's hunt the papertiger.
Considering a system in diagnosis of disease, we can depict these terms with the rate involved.
Accuracy The rate of all the correctly predicted people in all the people.
Precision The rate of people who really get the disease in predicted people with disease.
Recall or Sensitivity For all the actual positives, it’s the rate of how many people with disease are finally predicted.
Specificity For all the healthy people, it’s the rate how many healthy people are identified.
FootnotesThere are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.
Lachlan Chen, "Accuracy, Precision, Recall, F1 Score, Sensitivity, Specificity," in EarnFromScratch, September 11, 2020, https://www.earnfs.com/en/html/2622.htm.
title=Accuracy, Precision, Recall, F1 Score, Sensitivity, Specificity,
year=September 11, 2020