how to find out the content of one cluster
2 次查看(过去 30 天)
显示 更早的评论
I have multiple clusters and I am concerning how to find the features of each cluster. Is there any way that allows me to find the cluster's content or features and what features are in the cluster.
Thanx
0 个评论
采纳的回答
Walter Roberson
2014-2-24
Not really, no. Clusters, especially as determined by k-means, do not have "features". The k-means documentation indicates,
This iterative partitioning minimizes the sum, over all clusters, of the within-cluster sums of point-to-cluster-centroid distances. Rows of X correspond to points, columns correspond to variables.
If you were working with two variables (two columns) then a geometric interpretation would be that any given point P is considered to be associated with a centroid C if the circle of radius |PQ| around P does not (strictly) include any other centroid.
Likewise you can extend to three variables (three columns) and extend the geometric interpretation to be "sphere" instead of "circle".
You can see, then, that the cluster associated with C does not have any particular value or even value range for the variables. The boundary between clusters would be the intersection of hyperspheres around the centroids.
If you were using SVM, and you had only two clusters, then you could find a hyperplane that divided the two clusters -- but a hyperplane is not what one would typically think of as being a "feature".
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cluster Analysis and Anomaly Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!