SOM codebook vectors output

5 次查看(过去 30 天)
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?

采纳的回答

Adam
Adam 2019-9-24
编辑:Adam 2019-9-24
net.IW{1}
will give you the codebook vectors/weights. For example:
x = simplecluster_dataset;
net = selforgmap([8 8]);
net = train( net, x );
net.IW{1}
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by