Question: Consider the squared loss Loss(x, y, w) = (y max{w (x), 0})? 1. Draw the computational graph of the function Loss(x, y, w). 2. Number

 Consider the squared loss Loss(x, y, w) = (y max{w (x),

Consider the squared loss Loss(x, y, w) = (y max{w (x), 0})? 1. Draw the computational graph of the function Loss(x, y, w). 2. Number the internal nodes, 1, 2, ..., and next to every node i in the graph, indicate the forward value with fi, and indicate the backword value with gi. Also, on the edges of the graph indicate the corresponding derivatives, and use the forward values as appropriate to do so. Provide the expression of the gi's as function of other backword and edge values, as appropriate. 3. Assume that w = [1 2], 0 = (-1 1), and y = 3. Compute all the forward values, effectively performing a forward pass. 4. Using the forward values computed previously, compute all the backward values, effectively performing a backword pass. In particular, compute also the quantity aLoss aw Consider the squared loss Loss(x, y, w) = (y max{w (x), 0})? 1. Draw the computational graph of the function Loss(x, y, w). 2. Number the internal nodes, 1, 2, ..., and next to every node i in the graph, indicate the forward value with fi, and indicate the backword value with gi. Also, on the edges of the graph indicate the corresponding derivatives, and use the forward values as appropriate to do so. Provide the expression of the gi's as function of other backword and edge values, as appropriate. 3. Assume that w = [1 2], 0 = (-1 1), and y = 3. Compute all the forward values, effectively performing a forward pass. 4. Using the forward values computed previously, compute all the backward values, effectively performing a backword pass. In particular, compute also the quantity aLoss aw

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