title: How do I determine k when using k-means clustering?
body: <p>I've been studying about <a href="http://en.wikipedia.org/wiki/K-means_clustering" rel="noreferrer">k-means clustering</a>, and one thing that's not clear is how you choose the value of k.  Is it just a matter of trial and error, or is there more to it?</p>