Question: Consider a 2-class problem where the possible class labels are A and B. Suppose a classifier produces the following predicted labels for 10 instances: A,

Consider a 2-class problem where the possible class labels are A and B. Suppose a classifier produces the following predicted labels for 10 instances:

 A, A, B, B, B, A, B, A, A, A

and that the true class labels are:

 B, B, B, B, A, A, B, A, B, A

If A is the positive class, what are:

  • Recall
  • Precision
  • F1

Give the same three values if B is the positive class.

Now assume a 3-class problem where the classes are A, B, and C, with predictions:

A, A, A, A, B, B, B, C, C

and true labels:

A, B, A, C, C, A, B, C, C

What are the macro-averaged and the micro-averaged precision, recall, and F1?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!