Ridge Regression, Lasso Regression, Elasticnet Regression, Machine Learning, Machinelearningalgorithms.
-1 9.33 0 2.3 0.5 0.58 1 0 Now we change the λ and observe the J(θ1) cost function and the Gradient Descent. I assume λ values as 1, 2, 3. This is the result I got. λ = 0 λ = 1 λ = 2 λ = 3 slope(θ1) J(θ1) J(θ1) J(θ1) J(θ1) -1 9.33 10.33 11.33 12.33 0 2.3 2.3 2.3 2.3 0.5 0.58 0.83 1.08 1.33 1 0 1 2