GATE DA 2025 Set 1 — Question 35
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.NAT+1 / -0MediumNaive Bayes ClassifierClassificationMachine Learning
Machine Learning → Classification → Naive Bayes Classifier
Last updated
Question
The naive Bayes classifier is used to solve a two-class classification problem with class labels . Suppose the prior probabilities are and . Assuming a discrete feature space with and for a specific feature vector . The probability of misclassifying is __________ (Round off to two decimal places)
Correct answer
0.39 to 0.41
Solution
The posterior probabilities are calculated using Bayes' theorem:The Naive Bayes classifier assigns to the class with the highest posterior probability. Since , the classifier predicts class .
The probability of misclassification for this specific is the probability that the true class is actually , which is .
The probability of misclassification for this specific is the probability that the true class is actually , which is .
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: …