Normally if you a clustering an N-by-P matrix, CLUST will be a vector of length N that will be 1 for the points in the first cluster, 2 for the points in the second cluster, and so on. But if you are clustering columns rather than rows, you may need to transpose X.
query on command "silhouette(X,clust)"
1 次查看(过去 30 天)
显示 更早的评论
i have matrix of dimension 13x500 stored in variable X. i want cluster plot of this matrix. what do you mean by "clust" in command silhouette(X,clust)? what does it specify?pls help
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!