Hi have found this explanation in this link:
Use training set (default). After generating the clustering Weka
classifies the training instances into clusters according to the
cluster representation and computes the percentage of instances
falling in each cluster.In Supplied test set or Percentage split Weka can evaluate
clusterings on separate test data if the cluster representation is probabilistic (e.g. for EM).Classes to clusters evaluation. In this mode Weka first ignores
the class attribute and generates the clustering. Then during
the test phase it assigns classes to the clusters, based on the majority value of the class attribute within each cluster. Then it computes the classification error, based on this assignment and also shows the corresponding confusion matrix. An example
of this for k-means is shown below.
However, it is not clear for me how WEKA classifies a new instance in a cluster and how it measures if that instance should be classified in that cluster or not. Or does if only claculate the distribution of test instances in each cluster, without judging if the assignment is correct or not?