Code for the book building machine learning system with python