ML from Scratch — Episode 2: Linear Regression, The Implementation
The Math
Linear regression learns to predict a continuous value from input data, by finding the best-fit line through the training examples.
Cost Function
To measure how wrong our model is, we use MSE
adityand.hashnode.dev1 min read