Kaggle dataset is used
Here is the code the that I had written back then, when I had just started.I have just used numpy for preprocessing as I wasn't aware of pandas. Now, I would highly recommend pandas, it would make your pretty and it is totally a python thing.
The same dataset is solved using a neural network .