Ridge Regression, Lasso Regression, Elasticnet Regression, Machine Learning, Machinelearningalgorithms.
the coefficient as a penalty term to the loss function. Here the last part of the equation represents the L2 regularization element(λ [i =1 -> m Σ (slope)²]). λ [i =1 -> m Σ (slope)²] : λ is a Hyperparameter J(θ0,θ1) = 1/2m [i =1 -> m Σ (hθ(x)^i - y^i)^2] + λ (slope)² J(θ0,θ1) = 1/2m [i =1 -> m Σ