# Ridge Regression: When should the intercept be included ? What is the purpose of the intercept term? [duplicate]

I am trying to determine what is the purpose of including the intercept term in ridge regression.

In what situations should I include the intercept term ?

And in what situations should I not include the intercept term in ridge regression ?

The only reason we want to remove the intercept term is that we need $$y=0$$ when $$\mathbf x = \mathbf 0$$.