Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
points and blue points are my actual points. Now let’s calculate my error value using J(θ1). Here we assume like θ0 = 0 and the J(θ0, θ1) will be J(θ1) Now in the dataset I have 3 points. So that m will be 3. m=3 Now the summation of i =1 to 3 means the entire summation of 1,2 and 3 value. So I