• edited by
4,462 views
1 1 vote

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)}$

 

3 Answers

2 2 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 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.

 

Position:
Show:

Related questions

1 1 vote
2 2 answers
6.5k
6.5k views
admin asked Oct 21, 2023
6,480 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}$ ?
3 3 votes
2 2 answers
6.2k
6.2k views
admin asked Oct 21, 2023
6,187 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...
1 1 vote
1 1 answer
2.9k
2.9k views
admin asked Oct 21, 2023
2,860 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...
1 1 vote
6 6 answers
6.9k
6.9k views
admin asked Oct 21, 2023
6,858 views
Which among the following may help to reduce overfitting demonstrated by a modelChange the loss function. Reduce model complexity.Increase the training data.Increase the ...