Question
We will train a Naive Bayes classifier to predict class labels Y as a function of input features F i . We are given the
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)?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started