Following along in the text Machine Learning in Action by Peter Harrington