NLP, Python.
association. A bar plot showing the order in which the documents are associated with a cluster: import matplotlib.pyplot as plt plt.ylabel('Clusters') plt.xlabel('Document ID') plt.plot(kmeans.labels_, 'o') And a histogram showing absolute counts of documents per cluster: plt.hist(x=kmeans.labels_,