This was a homework problem where I was asked to find explicit expression that minimises the cost function.
I found the solution as :
$\hat{\theta} = (X^TX + \lambda I)^{-1}X^Ty$
Now the problem further asks :
If lambda <=0 is this solution, still equivalent to minimising the cost function?
I'm not able to figure out how do I answer this, my understanding is that it will still minimise the cost function but could potentially make the covariates unstable?