Question: ( 4 5 points ) Given a single training sample ) for softmax regression ( multi - class classification ) of three classes. Current parameters

(45 points) Given a single training sample ) for softmax regression (multi-class
classification) of three classes. Current parameters for the three classes are 1=[5,3,-2]T,2=
[4,-2,1]T,3=[-5,2,3]T. Note that we assume that we extend x with a 0-th dimension, i.e.,x=
[1,x1,x2]T, where x0 is a constant 0.
(a)(15 points) Find the cross-entropy cost function value for this training sample.
(b)(15 points) Find negative gradients of 1,2,3, with this training sample and the cross-entropy
cost function.
(c)(15 points) If a learning rate =0.1 is used, what would be parameters 1,2,3 after 1 iteration
of gradient descent? Please note that all parameter dimensions are updated jointly in one iteration.
(d)(15 points) Find the cross-entropy cost function value for this training sample after 1 iteration of
gradient descent in (c).
( 4 5 points ) Given a single training sample )

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