query on command "silhouette(X,clust)"

1 visualización (últimos 30 días)
Ravi Sharma
Ravi Sharma el 25 de Abr. de 2015
Respondida: Tom Lane el 28 de Abr. de 2015
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

Respuestas (1)

Tom Lane
Tom Lane el 28 de Abr. de 2015
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.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by