scikit-learn/scikit-learn — pull request #1234 by amueller (2012-10-11 18:21:32+00:00)
Title: MRG fix bincount mess I made in kmeans.

This should clean up the stuff I pushed earlier.
cc @ogrisel @gaelvaroquaux Could you have a brief look? What I pushed earlier is buggy but I didn't dare push again after so many failed fixes.