CDN$ 34.71
  • List Price: CDN$ 51.86
  • You Save: CDN$ 17.15 (33%)
Only 2 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Quantity:1
Programming Collective In... has been added to your Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 5 images

Programming Collective Intelligence: Building Smart Web 2.0 Applications Paperback – Aug 16 2007


See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
CDN$ 34.71
CDN$ 27.93 CDN$ 27.37

Harry Potter and the Cursed Child
click to open popover


Frequently Bought Together

  • Programming Collective Intelligence: Building Smart Web 2.0 Applications
  • +
  • Data Science from Scratch: First Principles with Python
  • +
  • Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython
Total price: CDN$ 103.48
Buy the selected items together

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.




Product Details

  • Paperback: 362 pages
  • Publisher: O'Reilly Media; 1 edition (Aug. 26 2007)
  • Language: English
  • ISBN-10: 0596529325
  • ISBN-13: 978-0596529321
  • Product Dimensions: 17.8 x 2.3 x 23.3 cm
  • Shipping Weight: 726 g
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #5,802 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

About the Author

Toby Segaran is the author of Programming Collective Intelligence, a very popular O'Reilly title. He was the founder of Incellico, a biotech software company later acquired by Genstruct. He currently holds the title of Data Magnate at Metaweb Technologies and is a frequent speaker at technology conferences.


What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: HASH(0xa709ac90) out of 5 stars 119 reviews
179 of 185 people found the following review helpful
HASH(0xa6d6b834) out of 5 stars Putting Theory into Practice Dec 18 2007
By Syd Logan - Published on Amazon.com
Format: Paperback 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.)
94 of 97 people found the following review helpful
By Kyle - Published on Amazon.com
Format: Paperback Verified Purchase
This is the first time I've actually taken the time to write out a review. I'm sure this book was awesome when it first came out, it is clear, concise and has a nice follow-along structure. However, it has become outdated and it is riddled with either old syntax and errors. I have gotten past most of that though. The worst part is probably that the files that are used in some of the examples are hosted on the authors blog and have been taken down. If he can't be bothered to continue hosting old files for people who may buy the book (or point us to somewhere to get them) we shouldn't be bothered to buy it.
86 of 89 people found the following review helpful
HASH(0xa6c6ee10) out of 5 stars Accessible introduction to complex topics Aug. 17 2007
By Leo Dirac - Published on Amazon.com
Format: Paperback 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.
68 of 72 people found the following review helpful
HASH(0xa6c8ed50) out of 5 stars Understanding the logic behind sites like Amazon and Google... Oct. 20 2007
By Thomas Duff - Published on Amazon.com
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.
50 of 57 people found the following review helpful
HASH(0xa6c7fca8) out of 5 stars Shallow, poorly edited and out of date - Avoid March 9 2011
By Amazon Customer - Published on Amazon.com
Format: Paperback
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. The code samples are in Python, and some knowledge of Python is assumed.

Unfortunately the book suffers from a number of problems. As other reviews have noted, the editing is very sloppy indeed: many of the code samples don't work, due to basic editing errors such as variables with different names on different lines of code, and frequently the text describing the code does not match the code it surrounds. Additionally, while the code samples aim to be brief and informal, they are written in a poor coding style: readability is sacrificed frequently for very small space savings. Variable names follow the "wordsruntogether" style rather than using underscores_like_this or camelCase (as normal Python style would recommend), the author doesn't even bother to put spaces around his equals signs, and expressions are telescoped onto one line where a little more space would have made the example much clearer (particularly to anyone meeting Python for the first time). Coverage of what are frequently fairly advanced mathematical topics is quite superficial, and the author tries to maintain the fiction that you can understand this with only a high-school or perhaps college 101 math background. This just isn't true, and results in a book that fails everyone: those who know the math are annoyed and unsatisfied at the depth, while those that don't are probably mystified and confused.

As well as being mostly non-functional for reasons of poor editing, many of the code samples also no longer work as they rely on APIs of websites such as Facebook, Hot or Not and Zillow which have changed or which no longer function. While we can't really fault the author for this after 3+ years since publication, it does add to the reasons not to buy the book now. Fortunately the Kindle "sample chapter" for this book is about 75% of the book's content, so you can read most of it for free. It would be nice if O'Reilly's errata page for the book was maintained, and also if the Kindle edition had the errata applied to it. But I guess that is too much to ask.

It's worth reading the free chapters in the Kindle sample if you want a quick skim of these topics and aren't going to bother with the code samples, but don't spend money on the book or time on the code.


Feedback