How to Show Result of Clustering?

7 views (last 30 days)
Isay
Isay on 19 Oct 2014
Commented: Image Analyst on 20 Oct 2014
Hi, I have 1000 Articles and need to cluster them. After preprocessing, I used Kmeans(from Matlab) for clustering.
u can see Result(for 7 articles)
i tried to compare it with hierarchical Clustering(such as : average,median,complete and .. ) but , the result of hierarchical Clustering can be show by clustergram and plots.(not table) So , i can't Undrestand Each article belongs to which cluster?
can I have similar table results ? i mean "Table result" (exactly like the attached picture).
i need to khonw Each article belongs to which cluster?

Answers (1)

Image Analyst
Image Analyst on 20 Oct 2014
"idx" is your classification. If you could do a bar plot or stem plot with each index of "idx" plotted in a different color depending on what class it is. kmeans is not really an adjustable classification like some other kinds, so you can't do dendrograms, etc. You just get the n clusters you requested and you kind of have to take what you get.
  2 Comments
Isay
Isay on 20 Oct 2014
I want to see my results(hierarchical Clustering) In Table , exactly like Idx(kmeans clustering)
i don't need dendrograms or other plots . I need Table to find out Each article belongs to which cluster..
dendrograms are not good for me. ok?
Image Analyst
Image Analyst on 20 Oct 2014
So make a table, say in GUIDE, and put a table control on it. Then in your code put the table (in your screenshot) into it with the following command
set(handles.uitable1, 'data', idx);

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!