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
Sell Us Your Item
For a $4.50 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
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.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

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

Toby Segaran
4.5 out of 5 stars  See all reviews (91 customer reviews)

List Price: $39.99
Price: $25.20 & FREE Shipping. Details
You Save: $14.79 (37%)
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 Tuesday, May 28? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $17.27  
Paperback $25.20  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

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 + Python for Data Analysis
Price for all three: $76.26

Buy the selected items together


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: 7 x 0.8 x 9.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (91 customer reviews)
  • Amazon Best Sellers Rank: #25,615 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
149 of 155 people found the following review helpful
4.0 out of 5 stars 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?
79 of 81 people found the following review helpful
5.0 out of 5 stars Accessible introduction to complex topics August 17, 2007
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?
67 of 70 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
1.0 out of 5 stars Outdates, Code no longer works
I would not recommend anyone buying this book. The examples are outdated, based on sites that don't even exist anymore. Read more
Published 1 month ago by albenali
4.0 out of 5 stars Great book, but examples slightly dated (as of 04/2013)
This book is a great introduction to many statistical & grouping applications. The only real drawback is that some of the examples are a bit out of date -- some examples try to... Read more
Published 1 month ago by Adam C Harris
5.0 out of 5 stars Good Book
Whoever wants to learn data mining from the basic to advanced level, I recommend this book to him. Worth the Cost.
Published 3 months ago by Anitam Das Nirjhar
5.0 out of 5 stars Awesome, informative, easy to read
Fantastic book, would recommend to anyone interested in collective intelligence, crowdsourcing, and machine learning. Read more
Published 4 months ago by elliott cordo
5.0 out of 5 stars Great combination of basic statistical concepts and code
This book covers both aspects of machine leaning pretty well: 1) A wide array of statistical methods, and 2) application of statistical method to computer science/engineering... Read more
Published 5 months ago by Mikhail Semeniuk
5.0 out of 5 stars Amazingly smooth
Great writer, and thinker. Presents the material in a very accessible way for web developers; just as the title suggets.
Published 5 months ago by Eudis Duran
5.0 out of 5 stars Great book for introduction to machine learning techniques
This is up there with the best programming books I have read. I can't say enough about how much I enjoy this book and still refer back to it for insight into certain subjects like... Read more
Published 6 months ago by abesapien
5.0 out of 5 stars awesome book for learning ML techniques (and python)
If you like me, already know how to program in a high level language (or already know python), and you want to learn about Machine Learning from a practical view-point, then this... Read more
Published 7 months ago by Michel
5.0 out of 5 stars Not a quick read, but a good one.
This book has taken me longer to read than just about any other technology book, but I'll come back to that. Read more
Published 8 months ago by Malcolm R Groves
5.0 out of 5 stars A delightful book about very computational subjects
Great book!!!

Although I have learned Python, the most programs I have written are parsers and some Euler project problems. Read more
Published 9 months ago by dgg32
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

Topic From this Discussion
Whoa. Be the first to reply
Have something you'd like to share about this product?
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Search Customer Discussions
Search all Amazon discussions


So You'd Like to...



Look for Similar Items by Category