# Tag Info

There is nothing "wrong" with it. First of all, R's and Python's implementations of the algorithm may differ, hence they may give different results. Second, $k$-means is a randomized algorithm. It is not fully deterministic because it starts with randomly initialized clusters, so if you run it several times you could get different results for each ...