How would I create a 2 dimensional visualisation of a Simple K Means clustering result?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How would I create a 2 dimensional visualisation of a Simple K Means clustering result?

uMatthews0060
Trying to create a 2 dimensional visualisation (a clustering visuals of some
kind) for a Simple K Means WEKA clustering result with java. Built clusterer
method is called and store in an object called `kmeans_res` and this object
is then written to my files. I have the cluster result format of ...

    KMeans
    ======

    Number of Iterations: 6

    Cluster centroids:
    Centroid 0
         6.261999999999998 2.872000000000001 4.906000000000001 1.6760000000000006
Iris-versicolor
    Centroid 1
         5.005999999999999 3.4180000000000006 1.464 0.2439999999999999 Iris-setosa

    Clustering stats
    ================
    Cluster 1 contains Instance: 0
    Cluster 1 contains Instance: 1
    Cluster 1 contains Instance: 2
    Cluster 1 contains Instance: 3
    Cluster 1 contains Instance: 4
    Cluster 1 contains Instance: 5
    Cluster 1 contains Instance: 6
    Cluster 1 contains Instance: 7
    Cluster 1 contains Instance: 8
    Cluster 1 contains Instance: 9
    Cluster 1 contains Instance: 10
    Cluster 0 contains Instance: 11
    Cluster 0 contains Instance: 12
    Cluster 0 contains Instance: 13
    Cluster 0 contains Instance: 14
    Cluster 0 contains Instance: 15

    Number inside each cluster:
    Cluster 0 contains 5 Instances equal to 31%
    Cluster 1 contains 11 Instances equal to 69%

How would I take this result and create a 2 dimensional visual of it?




--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html