Codes that work through the sklearn textbook