Finding out the best fit line. so it can predict future value. line equation is : y = mx +c M- slope C- constant This is our hypothesis : 𝛉0 – constant 𝛉1 – Slope h(x) –
Error: predicted – actual values How far the predicted value from actual value MAE: average of absolute value of error Error gets positive and negative value. This positive and negative