Question: 1 Softmax regression and logistic regression [10 points] In lecture 15, we introduced the softmax regression, which learns for each class c a pair (wc,bc)

 1 Softmax regression and logistic regression [10 points] In lecture 15,

1 Softmax regression and logistic regression [10 points] In lecture 15, we introduced the softmax regression, which learns for each class c a pair (wc,bc) such that p(cx)=cexp(wcx+bc)exp(wcx+bc). Suppose that we only have two classes c=+1 and c=1, please rewrite p(+1x) as 1+exp((wx+b))1 and represent (w,b) in terms of w+1,b+1,w1,b1. That is, a softmax regression reduces to logistic regression when the classification problem is binary. 1 Softmax regression and logistic regression [10 points] In lecture 15, we introduced the softmax regression, which learns for each class c a pair (wc,bc) such that p(cx)=cexp(wcx+bc)exp(wcx+bc). Suppose that we only have two classes c=+1 and c=1, please rewrite p(+1x) as 1+exp((wx+b))1 and represent (w,b) in terms of w+1,b+1,w1,b1. That is, a softmax regression reduces to logistic regression when the classification problem is binary

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 Accounting Questions!