SOM codebook vectors output
조회 수: 1 (최근 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?
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!