Self organization map (R2018b)

Hi every one,
I use the Matlab R2018b to make SOM map, but I have errors as follows. Please help me about this.
data read ok
>> %% XU LY DU LIEU
>> sD = som_normalize (sD, 'var');
>> sD = som_normalize (sD, 'range');
>> %% HUAN LUYEN DU LIEU
>> sM = som_make (sD);
Determining map size ...
map size [12, 4]
Initialization ...
Training using batch algorithm ...
Rough training phase ...
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Fine tuning phase ...
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Training: 0/0 s
Final quantization error: 0.229
Final topographic error: 0.019
>> %% TRUC QUAN HOA SOM
>> som_show (sM);
Error using axes
Handles of type ColorBar cannot be made the current axes.
Error in som_recolorbar (line 300)
mem_axes = gca; axes (h_ (i));
Error in som_show (line 523)
h_colorbar = som_recolorbar ('all', 3, General.scale); % refresh colorbars

1 件のコメント

Michael Tamajong
Michael Tamajong 2023 年 11 月 15 日
I had the same errors in my MATLAB 2023b. If anyone using the same toolbox has a solution to this, please help!! aparently it compiles well for my colleague who has v2023a.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 11 月 15 日

0 投票

that error occurs if you use an old version of the toolbox with r2014b or later. You should get a newer release from https://github.com/ilarinieminen/SOM-Toolbox

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

質問済み:

2020 年 11 月 9 日

回答済み:

2023 年 11 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by