Artificial intelligence · University
Positive-class F1 score · formula reference
This is a class-specific score, not a multiclass macro average or a cost-sensitive objective.
Formula
This is a class-specific score, not a multiclass macro average or a cost-sensitive objective.
F1 = 2TP/(2TP+FP+FN)
Worked example
For TP=46, FP=38, FN=48, compute positive-class F1 score. Round the final result to 4 decimal places if needed.
Substitute into 2TP/(2TP+FP+FN): 92/178.
0.5169
Prerequisites and checking
Algebra and the topic definitions. Keep units and rounding consistent. State the model conditions before applying the formula.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.
AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.