Skip to content
GATEiit

GATE DA 2024 Q20: Number of parameters of a naive Bayes classifier

Question

Given a dataset with KK binary-valued attributes (where K>2K > 2) 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

Select one 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 P(xj=1∣y)P(x_j = 1 \mid y) for each of the KK 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

WhatsAppDownload image

Source: official GATE 2024 DA question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key