Description
Problem 1.
Derive the gradient in softmax regression βπ€βπ½π,π , ββππ½π
Problem 2.
Read the section βLogistic regression vs. softmaxβ in the lecture note. It shows that a two-way softmax can be reduced to logistic regression.
Please show that logistic regression can also be reduced to 2-way softmax, i.e., for any parameter of the logistic regression model, there exists some parameter of the softmax regression model that does the same thing.
Problem 3.
Consider a -way classification. The predicted probability of a sample of . Incorrect predictions do not have utilities or losses.π π’π
isΒ Suppose correctly predicting a sample of categoryy β βπΎ, whereπ π¦π is the predicted probability of the πleads to a utilityth category.
Give the decision rule, i.e., a mapping from y to π‘^, that maximizes the total expected utility.



