question about k-means clustering metric choice
5 ビュー (過去 30 日間)
古いコメントを表示
In this documentation of K-means clustering: https://www.mathworks.com/help/stats/k-means-clustering.html
I would like to ask why the choice of metric is 'cityblock'. May I know what the context of the dataset is and why 'cityblock' is the appropriate choice of metric? Also, I tried to use the ordinary euclidean metric, but returned an error.
Please send your insights. Thanks
2 件のコメント
Walter Roberson
2018 年 8 月 17 日
編集済み: Walter Roberson
2018 年 8 月 17 日
I do not encounter any errors if I consistently change cityblock to sqeuclidean
https://www.mathworks.com/help/stats/sample-data-sets.html?searchHighlight=kmeansdata just describes it as 4 dimensional clustered data.
回答 (1 件)
Bernhard Suhm
2018 年 10 月 3 日
If you have any further questions, follow up. Otherwise, can you kindly "accept" Walter's answer?
1 件のコメント
Walter Roberson
2018 年 10 月 3 日
I did not post an Answer, so it would not have been possible to Accept it ;-)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!