Kmeans information and cluster analysis

조회 수: 1 (최근 30일)
George Leavitt
George Leavitt 2016년 11월 28일
답변: Nirja Mehta 2016년 12월 1일
Hello so I recently used kmeans clustering to group customers with similar purchase order histories/customer data. I have obtained the IDk, c , sumd, and d values obtained from the kmeans function. My question is with this data, How am I supposed to extract information so I can learn about what is in the clusters? Are there any functions or methods to describe the affects of the variables? Please help.

답변 (1개)

Nirja Mehta
Nirja Mehta 2016년 12월 1일
The outputs of kmeans will help you in visualizing the way your data is separated among k number of clusters. The outputs contain the following information:
idx - cluster indices
C — Cluster centroid locations
sumd — Within-cluster sums of point-to-centroid distances
D — Distances from each point to every centroid
With this information, you can plot the clusters and the cluster centroids as shown in the following link: K-Means Plot

카테고리

Help CenterFile 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!

Translated by