Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
(2 - 2)^2 + (3 - 3)^2} J(θ1) = 0 Now you know J(θ1) = 0 which means there is no error. This is correct because obviously there is no error because the best-fit line passes all true points. Let's change our slope value to 0.5. hθ(x)= θ1x Let θ1 = 0.5(This is my slope value. Assumption this value