while using som how to cluster the data into three clusters?

2 次查看(过去 30 天)
I'm using som for clustering in my project. I want the image to be clustered into three clusters. so in this case how to set the values for 'd1' and 'd2' in the function 'selforgmap' ?

回答(2 个)

Greg Heath
Greg Heath 2012-10-9
Kohonen's SOM algorithm is for UNSUPERVISED clustering. For supervised clustering he recommends his LVQ and LVQ2 algorithms
Nevertheless, you could try
1. Set d1 or d2 to be 3 and vary the other
or
2. Try initsompc
>> lookfor som
>> lookfor LVQ
Hope this helps.
Greg

Junaid
Junaid 2012-10-8
Try using VLFEAT matlab implementation for Clustering, it has many algorithms with tutorial and example codes. You can easily see visually the clusters with different K.

类别

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