Question 13
Consider the following code snippet for a multi-class classification problem with three classes: 0, 1, and 2. The ground-truth labels are stored in , and the predicted labels are stored in .
What is the precision score for class 1?
Consider the following code snippet for a multi-class classification problem with three classes: 0, 1, and 2. The ground-truth labels are stored in , and the predicted labels are stored in .
What is the precision score for class 1?
A written answer, not marked automatically.
Question 13 of 26 in the IIT Madras BS Machine Learning Practice (MLP) End Term paper sat on 10 May 2026, in the January 2026 term (Machine Learning Practice 06 May 26). It carries 5 marks.