How Machines Learn From Mistakes: Understanding Cost Function in Linear Regression

Machine Learning is not magic.