Connect your moderator Slack workspace to receive post notifications:
Sign in with Slack

[ CLOSED ] MAE loss function subgradient

Hey,
I'm not really sure of my grad for MAE loss function

I've this :

$$ \frac{\partial \mathscr{L}(w)}{\partial w}=-sign(e)\frac{1}{N}\begin{pmatrix} N\\\sum_{n=1}^{N} x_{n1} \end{pmatrix} $$where $$ e_n = y_n - w_0 - w_1 x_{n1} $$

I saw that answer was in week 2 part 2 I close the subject

Page 1 of 1