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.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
2 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/415200-question-about-k-means-clustering-metric-choice#comment_600734
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/415200-question-about-k-means-clustering-metric-choice#comment_600734
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/415200-question-about-k-means-clustering-metric-choice#comment_600735
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/415200-question-about-k-means-clustering-metric-choice#comment_600735
Sign in to comment.