Part of Course Project for "The Data Scientist's Toolbox" on Coursera