StudyBrixFree worksheets, study guides and courses

Artificial intelligence · University

Positive-class F1 score

This is a class-specific score, not a multiclass macro average or a cost-sensitive objective.

Make a worksheet

Method and conditions

This is a class-specific score, not a multiclass macro average or a cost-sensitive objective.

F1 = 2TP/(2TP+FP+FN)

Worked examples

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

For TP=36, FP=59, FN=31, compute positive-class F1 score. Round the final result to 4 decimal places if needed.

Substitute into 2TP/(2TP+FP+FN): 72/162.

0.4444

Try it

  1. For TP=45, FP=51, FN=27, compute positive-class F1 score. Round the final result to 4 decimal places if needed.

  2. For TP=27, FP=13, FN=56, compute positive-class F1 score. Round the final result to 4 decimal places if needed.

Check your work

Answers and marking notes
  1. 0.5357

    Substitute into 2TP/(2TP+FP+FN): 90/168.

  2. 0.439

    Substitute into 2TP/(2TP+FP+FN): 54/123.

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.