subject

In class, we learned a Nave Bayes classi er for binary feature values, i. e., xj 2 f0; 1g where we model the class conditional distribution to be Bernoulli. In this exercise, you are going to extend the result to the case where features that are non-binary. We are given a training set f(x(i); y(i)); i = f1; ;mgg, where x(i) 2 f1; 2; ; sgn and y(i) 2 f0; 1g. Again, we model the label as a biased coin with 0 = P(y(i) = 0) and 1 0 = P(y(i) = 1). We model each non-binary feature value x(i) j (an element of x(i)) as a biased dice for each class. This is parameterized by:
P(zj-s|y = 1) = θ.sly=1
Notice that we do not model P(aj sly = 0) and Pu; = sly = 1) directly. Instead we use the above equations to guarantee all probabilities for each class sum to 1.
A) Using the Naive Bayes (NB) assumption, write down the joint probability of the data: in terms of the parameters θο, θjkly-0 and ,,k y-1. You mlay find the indicator function 1(-) useful.
B) Maximizing the joint probability you get in (a) with respect to o, ,ky-o and jk y-1. Write down your resulting θο, θ, k y 0 and θ.kl,-1 and show intermediate steps.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:50
Is one of the most injurious events that can happen to a person in a crash.
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
With editing, word automatically displays a paste options button near the pasted or moved text. a. cut-and-paste b. drag-and-drop c. inline d. copy-and-carry
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
What are the different components of the cloud architecture?
Answers: 2
You know the right answer?
In class, we learned a Nave Bayes classi er for binary feature values, i. e., xj 2 f0; 1g where we m...
Questions
question
Chemistry, 11.05.2021 01:00
question
Mathematics, 11.05.2021 01:00
question
English, 11.05.2021 01:00
question
Mathematics, 11.05.2021 01:00
Questions on the website: 13722367