Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
(0 - 2)^2 + (0 - 3)^2} J(θ1) = 1/2*3 [ (-1)^2 + (-2)^2 + (-3)^2} J(θ1) = 2.3 Now let’s plot these J(θ1) values in a graph. It looks like this, So here we have used 3 points and when we will use more J(θ1) and θ1 points to draw this you will get a graph like this. You know that at the point of θ1 =1