edited by
2,589 views
1 votes
1 votes

Given a discrete $\text{K}$-class dataset containing $\text{N}$ points, where sample points are described using $\text{D}$ features with each feature capable of taking $\text{V}$ values, how many parameters need to be estimated for Naïve Bayes Classifier?

  1. $V^{D} K$
  2. $K^{V^{D}}$
  3. $\text{VDK}$
  4. $\text{K(V + D)}$

 

edited by

3 Answers

1 votes
1 votes

C. VDK is the closest answer, but the actual answer should be VDK + K.

Naive bayes calculates P(v | k) for each value v of each feature for each class k. Hence, this gets us VDK parameters. Also NB has to calculate P(k) for each class. Therefore, the total number of parameters are VDK + K.

0 votes
0 votes

Naive Bayes how many parameters need to be estimated : 


Given a dataset of N points in which each point has d features . Each feature can take V values.
X=<X1,X2…...Xd>  and Xi=<V Discrete Values> to be classified into Y = <K Discrete Classes>

P(Y|X=x1,x2,x3...xd) is prop to   P(Y).P(X=x1,x2,x3...xd|Y) 
 P(Y) needs K-1 parameters
P(X=x1,x2,x3...xd|Y)  needs dVK – dK parameters => dk(V-1)

In total   K-1 + dk(V-1) parameters needed.

 

Related questions

0 votes
0 votes
2 answers
1
admin asked Oct 21, 2023
3,932 views
Given $3$ literals $\text{A, B}$, and $\text{C}$, how many models are there for the sentence $\text{A $\vee$ $\neg$ B $\vee$ C}$ ?
1 votes
1 votes
2 answers
2
admin asked Oct 21, 2023
3,493 views
Which of the following first-order logic sentence matches closest with the sentence "All students are not equal"?$\forall x \exists y[\operatorname{student}(x) \wedge \op...
0 votes
0 votes
1 answer
3
admin asked Oct 21, 2023
1,654 views
The mean of the observations of the first $50$ observations of a process is $12$. If the $51$ $\text{st}$ observation is $18$, then, the mean of the first $51$ observatio...