[SOLVED] CMPUT466 Assignment 7

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon assignment77-lkc1oa.zip (345.4 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

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.

END OF W7

First (soft) deadline: Nov 9

Second (hard) deadline: Nov 16 before exam

Reference solutions will be released on Nov 11 for students to better prepare for the mid-term.

Students may refer to the provided solutions, but must submit their own written/typed solutions before Nov 16 to get marks. Copy and paste the provided solutions will be considered as plagiarism.

  • assignment77-lkc1oa.zip