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


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -