-
Chapter 1 Introduction to Collective Intelligence
-
What Is Collective Intelligence?
-
What Is Machine Learning?
-
Limits of Machine Learning
-
Real-Life Examples
-
Other Uses for Learning Algorithms
-
-
Chapter 2 Making Recommendations
-
Collaborative Filtering
-
Collecting Preferences
-
Finding Similar Users
-
Recommending Items
-
Matching Products
-
Building a del.icio.us Link Recommender
-
Item-Based Filtering
-
Using the MovieLens Dataset
-
User-Based or Item-Based Filtering?
-
Exercises
-
-
Chapter 3 Discovering Groups
-
Supervised versus Unsupervised Learning
-
Word Vectors
-
Hierarchical Clustering
-
Drawing the Dendrogram
-
Column Clustering
-
K-Means Clustering
-
Clusters of Preferences
-
Viewing Data in Two Dimensions
-
Other Things to Cluster
-
Exercises
-
-
Chapter 4 Searching and Ranking
-
What's in a Search Engine?
-
A Simple Crawler
-
Building the Index
-
Querying
-
Content-Based Ranking
-
Using Inbound Links
-
Learning from Clicks
-
Exercises
-
-
Chapter 5 Optimization
-
Group Travel
-
Representing Solutions
-
The Cost Function
-
Random Searching
-
Hill Climbing
-
Simulated Annealing
-
Genetic Algorithms
-
Real Flight Searches
-
Optimizing for Preferences
-
Network Visualization
-
Other Possibilities
-
Exercises
-
-
Chapter 6 Document Filtering
-
Filtering Spam
-
Documents and Words
-
Training the Classifier
-
Calculating Probabilities
-
A Naïve Classifier
-
The Fisher Method
-
Persisting the Trained Classifiers
-
Filtering Blog Feeds
-
Improving Feature Detection
-
Using Akismet
-
Alternative Methods
-
Exercises
-
-
Chapter 7 Modeling with Decision Trees
-
Predicting Signups
-
Introducing Decision Trees
-
Training the Tree
-
Choosing the Best Split
-
Recursive Tree Building
-
Displaying the Tree
-
Classifying New Observations
-
Pruning the Tree
-
Dealing with Missing Data
-
Dealing with Numerical Outcomes
-
Modeling Home Prices
-
Modeling "Hotness"
-
When to Use Decision Trees
-
Exercises
-
-
Chapter 8 Building Price Models
-
Building a Sample Dataset
-
k-Nearest Neighbors
-
Weighted Neighbors
-
Cross-Validation
-
Heterogeneous Variables
-
Optimizing the Scale
-
Uneven Distributions
-
Using Real Data—the eBay API
-
When to Use k-Nearest Neighbors
-
Exercises
-
-
Chapter 9 Advanced Classification: Kernel Methods and SVMs
-
Matchmaker Dataset
-
Difficulties with the Data
-
Basic Linear Classification
-
Categorical Features
-
Scaling the Data
-
Understanding Kernel Methods
-
Support-Vector Machines
-
Using LIBSVM
-
Matching on Facebook
-
Exercises
-
-
Chapter 10 Finding Independent Features
-
A Corpus of News
-
Previous Approaches
-
Non-Negative Matrix Factorization
-
Displaying the Results
-
Using Stock Market Data
-
Exercises
-
-
Chapter 11 EVOLVING INTELLIGENCE
-
What Is Genetic Programming?
-
Programs As Trees
-
Creating the Initial Population
-
Testing a Solution
-
Mutating Programs
-
Crossover
-
Building the Environment
-
A Simple Game
-
Further Possibilities
-
Exercises
-
-
Chapter 12 Algorithm Summary
-
Bayesian Classifier
-
Decision Tree Classifier
-
Neural Networks
-
Support-Vector Machines
-
k-Nearest Neighbors
-
Clustering
-
Multidimensional Scaling
-
Non-Negative Matrix Factorization
-
Optimization
-
-
Appendix Third-Party Libraries
-
Universal Feed Parser
-
Python Imaging Library
-
Beautiful Soup
-
pysqlite
-
NumPy
-
matplotlib
-
pydelicious
-
-
Appendix Mathematical Formulas
-
Euclidean Distance
-
Pearson Correlation Coefficient
-
Weighted Mean
-
Tanimoto Coefficient
-
Conditional Probability
-
Gini Impurity
-
Entropy
-
Variance
-
Gaussian Function
-
Dot-Products
-
-
Colophon
- Title:
- Programming Collective Intelligence
- By:
- Toby Segaran
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- August 2007
- Ebook Release:
- December 2008
- Pages:
- 368
- Print ISBN:
- 978-0-596-52932-1
- | ISBN 10:
- 0-596-52932-5
- Ebook ISBN:
- 978-0-596-15842-2
- | ISBN 10:
- 0-596-15842-4
The animals on the cover of Programming Collective Intelligence are King penguins (Aptenodytes patagonicus). Although named for the Patagonia region, King penguins no longer breed in South America; the last colony there was wiped out by 19th-century sealers. Today, these penguins are found on sub-Antarctic islands such as Prince Edward, Crozet, Macquarie, and Falkland Islands. They live on beaches and flat glacial lands near the sea. King penguins are extremely social birds; they breed in colonies of as many as 10,000 and raise their young in creches.
Standing 30 inches tall and weighing up to 30 pounds, the King is one of the largest types of penguin -- second only to its close relative the Emperor penguin. Apart from size, the major identifying feature of the King penguin is the bright orange patches on its head that extend down to its silvery breast plumage. These penguins have a sleek body frame and can run on land, instead of hopping like Emperor penguins. They are well adapted to the sea, eating a diet of fish and squid, and can dive down 700 feet, far deeper than most other penguins go. Because males and females are similar in size and appearance, they are distinguished by behavioral clues such as mating rituals.
King penguins do not build nests; instead, they tuck their single egg under their bellies and rest it on their feet. No other bird has a longer breeding cycle than these penguins, who breed twice every three years and fledge a single chick. The chicks are round, brown, and so fluffy that early explorers thought they were an entirely different species of penguin, calling them "woolly penguins." With a world population of two million breeding pairs, King penguins are not a threatened species, and the World Conservation Union has assigned them to the Least Concern category.
The cover image is from J. G. Wood's Animate Creation. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSands Mono Condensed.
