GATE DA 2024 Q20: Number of parameters of a naive Bayes classifier
- Machine Learning
- 1 mark
- MCQ
- −1/3 if wrong
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
Try it: multiple choice: exactly one correct option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation
Answer: B (official GATE 2024 final answer key)
Concept used: Naive Bayes assumes attributes are conditionally independent given the class.
First step: One parameter for the class prior, plus for each of the attributes and each of the 2 classes.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2024 DA question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key