GATE DA 2024 Set 1 — Question 20
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MCQ+1 / -0.33MediumNaive Bayes ClassifierClassificationMachine Learning
Machine Learning → Classification → Naive Bayes Classifier
Last updated
Question
Given a dataset with binary-valued attributes (where ) for a two-class classification task, the number of parameters to be estimated for learning a naïve Bayes classifier is
Correct answer
(B) 2K + 1
Solution
In a Naïve Bayes classifier for a two-class problem () with binary attributes ():
1.Class Priors: We need to estimate . Since , this requires 1 parameter.
2.Conditional Probabilities: We need to estimate for each attribute and class . Since the attributes are binary, is determined by .
- There are attributes.
- There are 2 classes.
- Total conditional parameters = .
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: …