We will train a Naive Bayes classifier to predict class labels Y as a function of input
Question:
We will train a Naive Bayes classifier to predict class labelsYas a function of input featuresFi.
We are given the following 15 training points:
Use Laplace smoothing with strengthk= 2 to estimate the prior()for the same data.
(=):
(=):
(=):
Use Laplace Smoothing with strengthk= 2 to estimate the conditional probability distributions (again, the second two are provided).
(1=0|=):
(1=1|=):
(1=0|=):
(1=1|=):
(1=0|=):
(1=1|=):
|
|
Now consider a new data point(1=1,2=1,3=1). Use your classifier to determine the joint probability of causesYand this new data point, along with the posterior probability ofYgiven the new data:
(=,1=1,2=1,3=1):
(=,1=1,2=1,3=1):
(=,1=1,2=1,3=1):
(=|1=1,2=1,3=1):
(=|1=1,2=1,3=1):
(=|1=1,2=1,3=1):
What label does your classifier give to the new data point (break ties alphabetically)?