How to Show Result of Clustering?
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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 个评论
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!