SOM neighbor connections raw data

1 vue (au cours des 30 derniers jours)
Ádám Herpai
Ádám Herpai le 15 Nov 2023
Commenté : Ádám Herpai le 15 Nov 2023
Hello,
I am trying to use SOM on Moiré images and I can't find where MATLAB stores the data for neighbouring connections. I have already found the data for weight positions and sample hits but I can't find it for neighbor connections.

Réponse acceptée

Adam
Adam le 15 Nov 2023
>> net.layers{:}
ans =
Neural Network Layer
name: 'Layer'
dimensions: [8 8]
distanceFcn: 'linkdist'
distanceParam: (none)
distances: [64x64 double]
initFcn: 'initwb'
netInputFcn: 'netsum'
netInputParam: (none)
positions: [2x64 double]
range: [64x2 double]
size: 64
topologyFcn: 'hextop'
transferFcn: 'compet'
transferParam: (none)
userdata: (your custom info)
Assuming you are using the Matlab version of selforgmap, this is where you can find the neighbourhood connections, which are fixed by the starting topology so do not change at all during the learning of the network. The positions property gives an array of the x-y locations of the nodes as defined by the topology. You can also access the topology outwith the SOM using e.g.
doc hextop
if you are using the hexagonal toplogy (the default), since it is unaffected by the running of the SOM.
I did always find it very hard to find or remember which properties contained the information I wanted when I used this myself. I ended up writing my own version of an SOM in the end because I wanted more flexibility.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by