Work done for the Coursers / Johns Hopkins course "The Data Scientist's Toolbox"