HomeAbout MeBlogOther StuffPublications
Contact Me

How can we make linear regression better? Regularization.

If you haven't read my post on linear regression I invite you to do so here, but basically it is a method for modelling the relationship between variables XiX_iXi​ and a target feature yyy in a linear model. This modelling is done through learning weights θi\theta_iθi​ for each XiX_iXi​ supposing that our model looks something like this:

y=∑i=1nθi⋅Xiy = \sum_{i=1}^n\theta_i\cdot X_iy=i=1∑n​θi​⋅Xi​

What is regularization ?

Regularization

How do we implement it in Python

Luc Blassel. 2020