This documentation is for scikit-learn version 0.14 — Other versions If you use the software, please consider citing scikit-learn. Clustering text documents using k-means Clustering text documents using k-means¶ This is an example showing how the scikit-learn can be used to cluster documents by topics using a bag-of-words approach. This example uses a scipy.sparse matrix to store the features inst