Programming Collective Intelligence is a book by Toby Segaran and published by O'Reilly Media in August, 2007. It covers the use of data-mining and machine learning algorithms applied to online behavior and user-generated content. Included here are my Python codes for the exercises.