Finding Self-Organizing-Maps Centers

1 回表示 (過去 30 日間)
Fatih
Fatih 2022 年 10 月 27 日
コメント済み: Fatih 2023 年 2 月 13 日
Hello.
I created a SOM Graph, in the graph there are centers and I need to know the center values, whereas I couldn't find it.
Would you please let me know how I can find the locations of centers?
xSom = ResultsFinal' ;
net = selforgmap([2 2]);
net = train(net,xSom);
view(net)
z = plotsompos(net,xSom);

採用された回答

Suman Sahu
Suman Sahu 2023 年 2 月 13 日
You can access the weight values of the centers of a Self-Organizing Map (SOM) in MATLAB using the net.IW property. The net.IW property is a matrix where each row represents the weight values for a single center. The number of rows in net.IW is equal to the number of centers in the SOM.
You can access the weight values of the centers by accessing net.IW. For example:
center_weights = net.IW;
Note that the weight values of the centers are stored as a matrix, where each row represents a center. If you want to access the weight values for a specific center, you can index into the center_weights matrix using a row index. For example, to access the weight values for the first center:
first_center_weights = center_weights(1,:);
  1 件のコメント
Fatih
Fatih 2023 年 2 月 13 日
Great thanks.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by