Compute both denominators at threshold one half.

highlighted = computed this step

Precision uses marked positives

Precision uses TP plus FP in the denominator: 2 + 1 = 3.

TP+FP=2+1=3TP+FP=2 + 1=3
Precision and Recall ExactlyExact precision and recall denominators for two thresholds.same scored rows with precision and recall denominatorsthreshold 1/2score line, threshold 1/201t=1/2A5/6B2/3C1/2D1/3E1/6predictions at 1/2rowyscorepredA15/61B02/31C11/21D01/30E11/60confusion and denominators at 1/2itemexact valueTP2FP1FN1TN1precision denominator TP+FP3precision2/3recall denominator TP+FN3recall2/3threshold 5/6score line, threshold 5/601t=5/6A5/6B2/3C1/2D1/3E1/6predictions at 5/6rowyscorepredA15/61B02/30C11/20D01/30E11/60confusion and denominators at 5/6itemexact valueTP1FP0FN2TN2precision denominator TP+FP1precision1recall denominator TP+FN3recall1/3same rows; precision uses TP plus FP; recall uses TP plus FNdoes not claim: NOT best metric; NOT threshold policyNOT future performance; NOT accuracy; NOT calibrationNOT fairness; NOT safety; NOT generalization; NOT probability truth

Compute precision

Precision is TP over TP plus FP, so it is 2 over 3.

precision=23\text{precision}={2\over3}
Precision and Recall ExactlyExact precision and recall denominators for two thresholds.same scored rows with precision and recall denominatorsthreshold 1/2score line, threshold 1/201t=1/2A5/6B2/3C1/2D1/3E1/6predictions at 1/2rowyscorepredA15/61B02/31C11/21D01/30E11/60confusion and denominators at 1/2itemexact valueTP2FP1FN1TN1precision denominator TP+FP3precision2/3recall denominator TP+FN3recall2/3threshold 5/6score line, threshold 5/601t=5/6A5/6B2/3C1/2D1/3E1/6predictions at 5/6rowyscorepredA15/61B02/30C11/20D01/30E11/60confusion and denominators at 5/6itemexact valueTP1FP0FN2TN2precision denominator TP+FP1precision1recall denominator TP+FN3recall1/3same rows; precision uses TP plus FP; recall uses TP plus FNdoes not claim: NOT best metric; NOT threshold policyNOT future performance; NOT accuracy; NOT calibrationNOT fairness; NOT safety; NOT generalization; NOT probability truth

Compute recall

Recall uses TP plus FN in the denominator: 2 + 1 = 3, so recall is 2 over 3.

recall=23\text{recall}={2\over3}
Precision and Recall ExactlyExact precision and recall denominators for two thresholds.same scored rows with precision and recall denominatorsthreshold 1/2score line, threshold 1/201t=1/2A5/6B2/3C1/2D1/3E1/6predictions at 1/2rowyscorepredA15/61B02/31C11/21D01/30E11/60confusion and denominators at 1/2itemexact valueTP2FP1FN1TN1precision denominator TP+FP3precision2/3recall denominator TP+FN3recall2/3threshold 5/6score line, threshold 5/601t=5/6A5/6B2/3C1/2D1/3E1/6predictions at 5/6rowyscorepredA15/61B02/30C11/20D01/30E11/60confusion and denominators at 5/6itemexact valueTP1FP0FN2TN2precision denominator TP+FP1precision1recall denominator TP+FN3recall1/3same rows; precision uses TP plus FP; recall uses TP plus FNdoes not claim: NOT best metric; NOT threshold policyNOT future performance; NOT accuracy; NOT calibrationNOT fairness; NOT safety; NOT generalization; NOT probability truth