If you've finished the amazing introductory Machine Learning on Coursera by Prof. Andrew Ng, you probably got familiar with Octave/Matlab programming. With this repo, you can re-implement them in Python, step-by-step, visually checking your work along the way, just as the course assignments.
This project was coded in Python 3.6
The fastest and easiest way to install all these dependencies at once is to use Anaconda.
There are a couple of things to keep in mind before starting.
>> size(theta)
>> (2, 1)
Now, it is
>>> theta.shape
>>> (2, )
You can check out my implementation of the assignments here. I tried to vectorize all the solutions.