Somthing wrong with SOM Toolbox
Afficher commentaires plus anciens
Hi, I am working with somtoolbox2_Mar_17_2005 to classify example Iris. As described in instructor, I have input the code as follows:
%make the data
sD = som_read_data('iris.data');
sD = som_normalize(sD, 'var');
%make the SOM
sM = som_make(sD);
sM = som_autolabel(sM, sD, 'vote');
%basic visualization,
som_show(sM,'umat', 'all', 'comp', 1:4, 'empty', 'Labels', 'norm', 'd');
However, there occured a mistake: The double value -1 cannot be converted to a handle
Error som_show (line 497)
h_colorbar(i,1)=-1;
Figure below is the part of som_show function

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Descriptive Statistics and Visualization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!