scikit-learn/scikit-learn — pull request #729 by larsmans (2012-03-26 15:00:59+00:00)
Title: ENH fit_predict convenience method on KMeans and MiniBatchKMeans

Doing `fit` and `predict` on the same set makes sense for clustering algorithms, so here's a method that does both in one go.