Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
assume that my θ0 = 0. Then my intercept will be zero and the best-fit line will pass through the origin. Now I can create my equation like this. hθ(x)= θ1x : because my θ0 = 0 I am going to use this equation to get values to the hθ(x). Let’s consider this is my entire data set and I am trying to