Ridge Regression, Lasso Regression, Elasticnet Regression, Machine Learning, Machinelearningalgorithms.
//Assume λ = 1 and slope = θ1 J(θ0,θ1) = 1/2m [i =1 -> m Σ (ˆy^i - y^i)^2] + λ (slope)² = 0 + 1 (θ1)² = (θ1)² : This is > 0 // Now cost function is not equals to zero. And the best-fit line will find another best-fit line // And new best-fit line never passes the exact trianing data points This is