Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
line with these values and this line will pass through the origin(x = 0, y= 0). Graph with actual values and best-fit line Now you can see my predicted points and the truth points are overlapped. Now let's apply this cost function to this. Here we assume like θ0 = 0 and the J(θ0, θ1) will be J(θ1)