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,](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66e57c6414c6b_61966e57c6383caf.jpg)
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
Get step-by-step solutions from verified subject matter experts
