Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
larger value compared to the previous value. Let’s change our slope value to 0. hθ(x)= θ1x Let θ1 = 0(This is my slope value. Assumption this value equals to 0) Now according to the x values in the data hθ(x) values should be like this, x = 1 -> hθ(x) = 0 x = 2-> hθ(x) = 0 x = 3-> hθ(x) = 0 Now we