Question: Q 2 ) Assume that you have a data consisting of x 1 , x 2 , . . . , xm where each xi

Q2) Assume that you have a data consisting of x1, x2,..., xm where each xi represent a
single real value, which means you have m instances in data and each instance has a single
real-valued attribute. Assume also that the given data has a random uniform distribution
between w and w. You are expected to find the maximum likelihood estimate of w with
respect to the given data.
a) Specify a likelihood function F(w).
b) Specify the maximum likelihood estimate for w. Consider your answer based on the
likelihood function you state.
c) Assume that this time you are given a labeled data (xi
, yi), where yi
is 1 or 0. Remember
that a generative classifier will try to model and P(y) and P(x|y). Define an example
dataset the generative classifier utilizing the model you defined above for each P(x|y)
could not perform well on.
d) Remember that a discriminative classifier will try to model P(y|x). State whether you
can classify the labeled data given in the previous part using such a discriminative
classifier or not. If your answer is the answer is yes, then please also show what your
suggested classifier looks like

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!