Skip to content

Files

This branch is up to date with campoy/justforfunc:master.

38-linreg-vanilla

Linear Regression with Gradient Descent (ML4G #1)

In a previous episode we learned how to plot data with gonum and we added a line that approximated those points ... but we totally made that up!

During this episode we'll cover how to evaluate how good a line matches the points and how to find the best line possible by using gradient descent.

References:

resulting plot