Worked out examples from Programming Collective Intelligence. http://shop.oreilly.com/product/9780596529321.do