clustering method for different types of data

3 ビュー (過去 30 日間)
farzam
farzam 2015 年 12 月 19 日
回答済み: Image Analyst 2015 年 12 月 19 日
How can I cluster 2 types of data into 3 clusters, such as the first cluster includes only data type 1, the second cluster includes only data type 2 and the third cluster could include data type 1 and 2? the input data is the coordinates of points in 2D environment.
thanks.

回答 (1 件)

Image Analyst
Image Analyst 2015 年 12 月 19 日
kmeans() gives you the classification - the class - as an output. Just simply use that to extract a subset. Did you see the first example in kmeans documentation where they did that?
Try the "Classification Learner" app on the App tab. There you can experiment with a bunch of different clustering algorithms and see which one you like the best.

カテゴリ

Help Center および File ExchangeCluster Analysis and Anomaly Detection についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by