## Search found 2 matches

- Thu Feb 21, 2019 11:00 pm
- Forum: Deep Learning Prerequisites: Linear Regression in Python
- Topic: Linear regression, L2 regularization
- Replies:
**11** - Views:
**2262**

### Re: Linear regression, L2 regularization

I was also getting this conclusion, but i'am not sure we share the same problem. The L2 regularization results depends in the sum of two parameters: sum of weights and r-squared value (minimal average distance from Y_hat line to all original points) . The thing is, sometimes when we have situation A...

- Sun Feb 17, 2019 10:31 pm
- Forum: Deep Learning Prerequisites: Linear Regression in Python
- Topic: Linear regression, L2 regularization
- Replies:
**11** - Views:
**2262**

### Re: Linear regression, L2 regularization

Hi, charbsj Concretely, if I use the code you show in the video, but instead of having the outliers at y+=30, I place them at y-=30, then L2 regularization does not work for me. It makes sense, because L2 regularization, as I understand it, and as a I coded it, “favors” low weights (meaning flatter ...