Question: 3 - Suppose a multi - class logistic regression has been used as a model for digit recognition as shown below P ( Y =

3- Suppose a multi-class logistic regression has been used as a model for digit recognition as
shown below
P(Y=k|x=x)=exp(wkTx)1+l=1K-1exp(wlTx) for k=1,dots,K-1
P(Y=K|x=x)=11+l=1K-1exp(wlTx)
a) Which parameters need to be estimated?
b) How many parameters in total need to be estimated?
c) With n training samples as:
{(x1,y1),(x2,y2),dots,(xn,yn)}
d) write down explicitly the log-likelihood function for multi-class logistic regression (as
shown below) and simplify it.
L(w1,dots,wK-1)=i=1nlnP(Y=yi|x=xi)
e) Take the gradient with respect to w and simplify.
 3- Suppose a multi-class logistic regression has been used as a

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!