How to Show Result of Clustering?

2 次查看(过去 30 天)
Isay
Isay 2014-10-19
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?

回答(1 个)

Image Analyst
Image Analyst 2014-10-20
"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 个评论
Isay
Isay 2014-10-20
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 2014-10-20
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);

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by