When a fraud model flags a transaction, precision asks how often the flag is right. It is the proportion of predicted positives that are actually positive: precision = TP / (TP + FP), where TP is true positives and FP is false positives. section 5.2
Comparing fraud alerts
Suppose two models each catch 80 of 100 fraudulent transactions. If model A also flags 20 legitimate transactions, its precision is 80%. If model B flags 920 legitimate transactions, its precision is 8%. Both have 80% recall, but their alert quality differs. section 5.2
Precision can change as the balance of fraud and legitimate transactions changes, even if the model’s true-positive and false-positive rates stay fixed. Recall and specificity are insensitive to class balance, so comparing them can help when fraud prevalence varies. Choose metrics according to the operational goal rather than relying on precision alone. section 5.2



















