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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -