Intro to Machine Learning: Logistic Regression Code from Scratch

Programming Logistic Regression from Scratch

Posted on July 8, 2017

Hello Everyone !!

Thanks for continuing with this post.

In the last post, we discussed about the use of Logistic 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.

Logistic Regression using Gradient Descent:

Now that we have covered Logistic Regression Code using Gradient Descend, I think its now time to write our next implementation i.e. Logistic Regression using Scikit-Learn.

Great work on completing this tutorial, let's move to the next tutorial in series, Introduction to Machine Learning: Logistic Regression using Scikit-Learn

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