Regularized Linear Regression
θj:=θj(1−αλm)−α1m∑mi=1(hθ(x(i))−y(i))x(i)j
The term (1−αλm) will always be less than 1. It is there to reduce the value of λj by some small amount on every update. The 2nd term is exactly the same as it was before
Resources:
- https://www.coursera.org/learn/machine-learning/lecture/QrMXd/regularized-linear-regression
Comments
Post a Comment