MATLAB Answers

SOM codebook vectors output

5 views (last 30 days)
Johanna Torppa
Johanna Torppa on 24 Sep 2019
Edited: Adam on 24 Sep 2019
I am training SOM using the Deep Learning toolboxes train() function. How do I get out the SOM node vectors, i.e., the learned codebook vectors?


Sign in to comment.

Accepted Answer

Adam on 24 Sep 2019
Edited: Adam on 24 Sep 2019
will give you the codebook vectors/weights. For example:
x = simplecluster_dataset;
net = selforgmap([8 8]);
net = train( net, x );
It isn't the most intuitive to find the things you want in an SOM from the Deep Learning toolbox. I constantly forgot where all my parameters were when I used it. It uses the same network class as deep networks so there is a lot of stuff in there totally irrelevant to SOMs.


Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by