GATE DA 2026 Set 1 — Question 47
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MSQ+2 / -0MediumConfusion Matrix & MetricsClassificationMachine Learning
Machine Learning → Classification → Confusion Matrix & Metrics
Last updated
Question
Consider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X’s stories, 6 were classified as that of Y. On the other hand, out of Y’s stories, 2 were classified as that of X.Considering X and Y as two classes, which of the following statements is/are true?
Correct answer
(A) Accuracy of the classifier is 11/15.; (B) Precision of Class X is higher than the Precision of Class Y.
Solution
Let's construct the confusion matrix based on the problem description.Given:
Calculations:
Statement (D) is FALSE.
Statement (B) is TRUE.
Statement (C) is FALSE.Conclusion:
Statements (A) and (B) are correct.
- Total stories by Author X (Actual X) = 20
- Total stories by Author Y (Actual Y) = 10
- Total stories = 30
- Out of X's stories, 6 were classified as Y. Actual X, Predicted Y = 6 (False Negatives for X).
- Therefore, Actual X, Predicted X = (True Positives for X).
- Out of Y's stories, 2 were classified as X. Actual Y, Predicted X = 2 (False Positives for X).
- Therefore, Actual Y, Predicted Y = (True Negatives for X / True Positives for Y).
| Predicted X | Predicted Y | Total | |
|---|---|---|---|
| Actual X | 14 | 6 | 20 |
| Actual Y | 2 | 8 | 10 |
| Total Pred | 16 | 14 | 30 |
1.Accuracy:
Statement (A) is TRUE.Statement (D) is FALSE.
2.Precision:
Since , Precision of Class X is higher than Precision of Class Y.Statement (B) is TRUE.
3.Recall:
Since , Recall of Class X is NOT higher than Recall of Class Y.Statement (C) is FALSE.Conclusion:
Statements (A) and (B) are correct.
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE DA question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Classification
2026 Set 1 Q11For a classification problem, Principal Component Analysis (PCA) has been used to reduce the…2026 Set 1 Q12Consider that you are training a classifier for a 10-class classification problem. Each input is…2026 Set 1 Q23In the following table, the
Task column lists a few tasks related to machine learning. The…2026 Set 1 Q29Consider that for a supervised learning task, the objective function being minimized is…2026 Set 1 Q36Let four points in three-dimensional space be: P1: , P2: , P3: …