centroid - How to find the distance between instances within a cluster in WEKA? -
i have done clustering set of text documents using weka.it grouped similar documents cluster.i want measure how text documents close each other within cluster.how calculate distance between documents within cluster. anyone please me.i new user data mining. this code simplekmeans clustering algorithm: euclideandistance dist = weka.core.euclideandistance(); double distance = dist.distance(clustercentroid.instance(clusternumber), data.instance(instaceindex)); nb: distance normalized