The following are three artificial intelligence formulas regarding precision and recall:
Precision
Precision is the percentage of true positives regarding the returns of the artificial intelligence (AI).
Precision = True Positive / All Predictive Positives * 100
Recall
Recall is the fraction of positive cases which are correctly identified via artificial intelligence (AI).
Recall = True Positive / True Positive + False Negative
F1 Score
F1 score is the measure of balance between precision and recall of the artificial intelligence (AI).