because the cluster centers are movedwe have to reassign the cluster labels and recalculate the cluster centers after iteration we get the following clusteringthe arrows show the movements of the cluster centers after five iterations in this examplethe cluster centers don' move noticeably any more (scikit' tolerance threshold is by defaultafter the clustering has settledwe just need to note down the cluster centers and their identity when each new document comes inwe have to vectorize and compare it with all the cluster centers the cluster center with the smallest distance to our new post vector belongs to the cluster we will assign to the new post getting test data to evaluate our ideas on in order to test clusteringlet us move away from the toy text examples and find dataset that resembles the data we are expecting in the future so that we can test our approach for our purposewe need documents on technical topics that are already grouped together so that we can check whether our algorithm works as expected when we apply it later to the posts we hope to receive