Machine Learning code, help from book: machine learning in action