Programming Collective Intelligence and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $8.75 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Programming Collective Intelligence: Building Smart Web 2.0 Applications
 
 
Start reading Programming Collective Intelligence on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming Collective Intelligence: Building Smart Web 2.0 Applications [Paperback]

Toby Segaran (Author)
4.4 out of 5 stars  See all reviews (76 customer reviews)

List Price: $39.99
Price: $26.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, May 22? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $17.27  
Paperback $26.39  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

August 23, 2007
Want to tap the power behind search rankings, product recommendations, social bookmarking, and online matchmaking? This fascinating book demonstrates how you can build Web 2.0 applications to mine the enormous amount of data created by people on the Internet. With the sophisticated algorithms in this book, you can write smart programs to access interesting datasets from other web sites, collect data from users of your own applications, and analyze and understand the data once you've found it. Programming Collective Intelligence takes you into the world of machine learning and statistics, and explains how to draw conclusions about user experience, marketing, personal tastes, and human behavior in general--all from information that you and others collect every day. Each algorithm is described clearly and concisely with code that can immediately be used on your web site, blog, Wiki, or specialized application. This book explains:
  • Collaborative filtering techniques that enable online retailers to recommend products or media
  • Methods of clustering to detect groups of similar items in a large dataset
  • Search engine features--crawlers, indexers, query engines, and the PageRank algorithm
  • Optimization algorithms that search millions of possible solutions to a problem and choose the best one
  • Bayesian filtering, used in spam filters for classifying documents based on word types and other features
  • Using decision trees not only to make predictions, but to model the way decisions are made
  • Predicting numerical values rather than classifications to build price models
  • Support vector machines to match people in online dating sites
  • Non-negative matrix factorization to find the independent features in adataset
  • Evolving intelligence for problem solving--how a computer develops its skill by improving its own code the more it plays a game 
Each chapter includes exercises for extending the algorithms to make them more powerful. Go beyond simple database-backed applications and put the wealth of Internet data to work for you.

"Bravo! I cannot think of a better way for a developer to first learn these algorithms and methods, nor can I think of a better way for me (an old AI dog) to reinvigorate my knowledge of the details."
-- Dan Russell, Google

"Toby's book does a great job of breaking down the complex subject matter of machine-learning algorithms into practical, easy-to-understand examples that can be directly applied to analysis of social interaction across the Web today. If I had this book two years ago, it would have saved precious time going down some fruitless paths."
-- Tim Wolters, CTO, Collective Intellect

Frequently Bought Together

Programming Collective Intelligence: Building Smart Web 2.0 Applications + Mining the Social Web: Analyzing Data from Facebook, Twitter, LinkedIn, and Other Social Media Sites + Data Analysis with Open Source Tools
Price For All Three: $77.12

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Mining the Social Web: Analyzing Data from Facebook, Twitter, LinkedIn, and Other Social Media Sites $26.39

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Data Analysis with Open Source Tools $24.34

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Toby Segaran is a software developer and manager at Genstruct, a computational systems biology company. He has written free web applications for his own use and put them online for others to try, including: tasktoy, a task management system; Lazybase, an online application that lets users design, create and share databases of anything they like; and Rosetta Blog, an online tool for practicing Spanish and French by reading blogs along with their translations and lists of common words. Each of these has several hundred regular users.

Product Details

  • Paperback: 362 pages
  • Publisher: O'Reilly Media; 1St Edition edition (August 23, 2007)
  • Language: English
  • ISBN-10: 0596529325
  • ISBN-13: 978-0596529321
  • Product Dimensions: 9.2 x 7 x 0.9 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (76 customer reviews)
  • Amazon Best Sellers Rank: #24,605 in Books (See Top 100 in Books)

More About the Author

Toby Segaran is the author of "Programming Collective Intelligence," one of Amazon's top-selling AI books of all time. His latest titles, "Programming the Semantic Web" and "Beautiful Data" were released in July. He speaks on the subjects of machine learning, collective intelligence and freedom of data at conferences worldwide.

He currently holds the title of Data Magnate at Metaweb Technologies, where he works on large-scale data reconciliation problems. He is also a cofounder of freerisk.org, a non-profit aimed at creating more financial transparency.

Prior to Metaweb he founded Incellico, a biotechbology software company acquired in 2003. He holds a B.Sc. in Computer Science from MIT and US Government deems him a "Person of Exceptional Ability."

Customer Reviews

Most Helpful Customer Reviews
130 of 135 people found the following review helpful
Putting Theory into Practice December 18, 2007
Format:Paperback|Amazon Verified Purchase
This book is probably best for those of you who have read the theory, but are not quite sure how to turn that theory into something useful. Or for those who simply hunger for a survey of how machine learning can be applied to the web, and need a non-mathematical introduction.

My area of strength happens to be neural networks (my MS thesis topic was in the subject), so I will focus on that. In a few pages of the book, the author describes how the most popular of all neural networks, backpropagation, can be used to map a set of search terms to a URL. One might do this, for example, to try and find the page best matching the search terms. Instead of doing what nearly all other authors will do, prove the math behind the backprop training algorithm, he instead mentions what it does, and goes on to present python code that implements the stated goal.

The upside of the approach is clear -- if you know the theory of neural networks, and are not sure how to apply it (or want to see an example of how it can be applied), then this book is great for that. His example of adaptively training a backprop net using only a subset of the nodes in the network was interesting, and I learned from it. Given all the reading I have done over the years on the subject, that was a bit of a surprise for me.

However, don't take this book as being the "end all, be all" for understanding neural networks and their applications. If you need that, you will want to augment this book with writings that cover some of the other network architectures (SOM, hopfield, etc) that are out there. The same goes for the other topics that it covers.

In the end, this book is a great introduction to what is available for those new to machine learning, and shows better than any other book how it applies to Web 2.0. Major strengths of this book are its broad coverage, and the practicality of its contents. It is a great book for those who are struggling with the theory, and/or those who need to see an example of how the theory can be applied in a concise, practical way.

To the author: I expect this book will get a second edition, as the premise behind the book is such a good one. If that happens, perhaps beef up the equations a bit in the appendix, and cite some references or a bibliography for those readers interested in some more in depth reading about the theory behind all these wonderful techniques. (The lack of a bibliography is why I gave it 4 stars out of 5, I really think that those who are new to the subject would benefit greatly from knowing what sits on your bookshelf.)
Was this review helpful to you?
66 of 68 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
Segaran has done an excellent job of explaining complex algorithms and mathematical concepts with clear examples and code that is both easy to read and useful. His coding style in Python often reads as clearly as pseudo-code in algorithm books. The examples give real-world grounding to abstract concepts like collaborative filtering and bayesian classification.

My favorite part is how he shows us code (gives it to us!) that goes out into the world, grabs masses of data and does interesting things with it. The use of a hierarchical clustering algorithm to dig into people's intrinsic desires in life as expressed in zebo is worth the price of the book alone. The graph that shows a strong connection between "wife", "kids", and "home" but a different connection between "husband", "children", and "job" is IMHO just fascinating.

Gems like that make this book worth reading cover to cover. After that it can happily hang out on your shelf as a reference anytime you need to build something to mine user data and extract the wisdom of crowds.
Was this review helpful to you?
58 of 61 people found the following review helpful
Format:Paperback
Have you ever wondered how some of those "collective intelligence" sites work? How Amazon can suggest books that you'll like based on your browsing history? How a search engine can rank and filter results? Toby Segaran does a very good job in revealing and teaching those types of algorithms in his book Programming Collective Intelligence: Building Smart Web 2.0 Applications. While I'm not ready to run out and build my own version of Facebook now, at least I can start to understand how sites like that are designed.

Contents:
Introduction to Collective Intelligence; Making Recommendations; Discovering Groups; Searching and Ranking; Optimization; Document Filtering; Modeling with Decision Trees; Building Price Models; Advanced Classification - Kernel Methods and SVMs; Finding Independent Features; Evolving Intelligence; Algorithm Summary; Third-Party Libraries; Mathematical Formulas; Index

In each of the chapters, Segaran takes a type of capability, be it decision-making or filtering, and shows how a programming language can be used to build that feature. His examples are all in Python, so it helps if you are already familiar with that language if you want to actually work with the code. But even if you don't know Python, the examples are clear and detailed enough that you can follow along and get the gist of what's happening. I personally think that it would help immensely if you had a background in mathematics and statistics. You can use the code here without having a detailed understanding of math, but I'm sure much of this would be more deeply appreciated if you already know about such things as Tanimoto similarity scores, Euclidean distances, or Pearson coefficients.

From my perspective (a non-Python programmer *without* the math background), I was more interested in understanding the overall picture about things like how ranking systems work or how recommendation engines are structured. While there was more detail than I needed (or understood), I still felt as if I accomplished my goal. I have a much greater appreciation for what companies like Google and Amazon have done in building web applications that allow the knowledge and wisdom of groups to be gathered and applied to my own preferences.

Statistical programmers will probably find years of entertainment here. :) "Normal" programmers will expand their horizons, too.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Must have for any analyst
This book is a must have for any analyst or computer scientist. The author does a great job in explaining some very interesting topics. Read more
Published 5 days ago by Amazon_Customer_X
very practical
After reading the second chapter i was very satisfied. This book walks you though the process of building a recommender system in a baby step way. Read more
Published 15 days ago by ten
Useful
This book is a great resource to start knowing different techniques about taking information of a great amount of data.
Published 28 days ago by Jaime
A good intro, but more is needed
First of all, I would say that at least a cursory knowledge of Python would help greatly in grasping and implementing the concepts in this book. Read more
Published 1 month ago by Marie S.
Nice if you know the math but not the programming
If you have taken graduate level statistical and computer science classes: CS ones like AI, NLP, Analysis of Algorithms and Math ones like Simulation Modeling, Forecasting,... Read more
Published 3 months ago by J. Kingsbury
Interesting and Simple to follow
This books is aimed at programmers, but is written in a very understandable manner with plenty of code examples (Python) as well as explanations of what the algorithms do.
Published 5 months ago by Bogdan Varlamov
a nice collection of tutorials with "not-working" example code
The book is a collection of step-by-step "dummy" tutorials. It guides you how to build intelligent web 2.0 applications, e.g. Read more
Published 5 months ago by Yingjie Miao
Good to pique your interest
This is a good introductory book to pique your interest in machine learning as was my case. But reading it got a bit frustrating as the code samples seem to be out of sync with the... Read more
Published 9 months ago by Aneesh
Great book for a very wide spectrum of audience
I have been researching the field of machine learning for some time now. I have read many books, articles and papers about the subject. Read more
Published 10 months ago by David Karam
Shallow, poorly edited and out of date - Avoid
This book covers a lot of topics of recent interest in the field of machine learning, data mining etc., frequently using online datasets for its examples. Read more
Published 14 months ago by J. Lawry
Search Customer Reviews
Only search this product's reviews

Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
document filtering, beautiful soup, blog dataset, weights matrix multiplied, add this function, searcher class, articles matrix, add this method, select rowid, most similar items, add this code, developer key, inbound links, random programs
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Advanced Classification, Building Price Models, New York, Algorithm Summary, Non-Negative Matrix Factorization, Grid War, Evolving Intelligence, Discovering Groups, Making Recommendations, World Bank, Using Stock Market Data, Buddy Chicago, The Kayak, The Night Listener, Python Imaging Library, Les Omaha, Universal Feed Parser, Understanding Kernel Methods, Zooey Akron, Using Inbound Links, The Fisher Method, Basic Google, Real Flight Searches, None Digg, Walt Miami
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(45)
(15)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
Whoa. 0 Sep 26, 2007
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject