question about determining the correct number of clusters (documentation)

1 回表示 (過去 30 日間)
cgo
cgo 2018 年 8 月 19 日
回答済み: Bernhard Suhm 2018 年 10 月 3 日
I have a question about determining the correct number of clusters (in k-means clustering).
In the documentation, there is a section about 'determining the correct number of clusters'. Please help me understand what the arguments in the table are for: iter (which would mean iterations), phase (?), num (?), and sum(?).
In the example, you will see:
Best total sum of distances = 1771.1
Here are my questions:
  1. Are we going for the best total sum of distances?
  2. From here, how are we able to determine that 4 is indeed the correct?

回答 (1 件)

Bernhard Suhm
Bernhard Suhm 2018 年 10 月 3 日
You can use the silhouette plot or evalclusters function to evaluate the quality of your clustering. There's a little more info in this previous answer.

Community Treasure Hunt

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

Start Hunting!

Translated by