Compute Accuracy of k-means Could you please provide me an example of how I can compute the accuracy for a kmeans clustering? 
I split my dataset into train and test sets and computed the predicted clusters for the train set. However, I do not know how to compiute its level of accuracy and see if it is good not also for the test.

An example with a sample dataset of your choice it would be extremely useful.
K-Means is a clustering technique NOT classification. You don't have the ground truth here to compare with. Hence accuracy doesn't make any sense.

You can train the model and with the test data predict which cluster the test data belongs to.

Try to visualize it, it shall be helpful.