Intro to Machine Learning: Linear Regression Code from Scratch

Programming Linear Regression from Scratch

Posted on July 3, 2017

Hello Everyone !!

Thanks for continuing with this post.

In the last post, we discussed about the use of Gradient Descent for Linear Regression, the theory and the mathematics behind it.

In this post, we will start writing the code for everything that we have learnt so far. So, let's get started.

You can find the Python code file and the IPython notebook for this tutorial here.

Linear Regression using R-Squared Error:

Now that we have covered Linear Regression code using R-Squared Method, let's move to our next implementation, i.e. Linear Regression using Gradient Descent.

Great work on completing this tutorial, let's move to the next tutorial in series, Introduction to Machine Learning: Linear Regression using Gradient Descent

For more projects and code, follow me on Github

Please feel free to leave any comments, suggestions, corrections if any, below.

comments powered by Disqus