use kmeans to split database of flowers
Ältere Kommentare anzeigen
Hi, My project is about flower recognition using matlab. I have database of 100 flower of 11 types. The purpose of the project is to get as input one of the flowers and print the name and features of the flower.
I already extract 4 features of the flowers( rgb colors, number of petals and etc.) Now I want to use 'kmeans' in order to devide the flowers into 11 clusters, when each type will be assign to one of the clusters. Does kmeans has option that will let me choose 11 of the flowers as seeds which will build the clusters? Or mayby you know about anoher function which will let me insert the flowers into 11 clusters manualy?
Akzeptierte Antwort
Weitere Antworten (1)
taly
am 21 Aug. 2013
0 Stimmen
4 Kommentare
Shashank Prasanna
am 21 Aug. 2013
idx is the cluster indices 1 through 11. Is that what you are asking for? what do you mean by compare?
Also, please don't post comments such as these under answers. You can reply to my answer with comments or clarifications.
taly
am 21 Aug. 2013
Shashank Prasanna
am 21 Aug. 2013
check the distance from each your new flower to the centroids and pick the minimum distance.
taly
am 23 Aug. 2013
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!