Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
output. Now we can get an equation for the error using these 2 values. Error = y - ŷ Now we are going to come up with a best-fit line wherein when I try to calculate or do the summation of all these errors it should be minimal. Suppose there are multiple best-fit lines with different error