Similarity Between Users Based On Votes

This my Answer to the stackoverflow question: Similarity Between Users Based On Votes:

I recommend the book Programming Collective Intelligence from Toby Segaran. Chapter 3 describes different clustering methods like Hierarchical Clustering and K-means Clustering.

The source code for the examples is available here