Question: C 3 _ 1 part 2 : Try implementing a different loss function for synthetic regression data, such as the absolute value loss ( y
Cpart:
Try implementing a different loss function for synthetic regression data, such as the
absolute value loss hat dreshapehat.shape abssum
Check what happens for regular data.
Check whether there is a difference in behavior if you actively perturb
some entries, such as of
Can you think of a cheap solution for combining the best aspects of
squared loss and absolute value loss? Hint: how can you avoid really
large gradient values?
please use python
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
