SOM neighbor connections raw data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ádám Herpai
el 15 de Nov. de 2023
Comentada: Ádám Herpai
el 15 de Nov. de 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.
0 comentarios
Respuesta aceptada
Adam
el 15 de Nov. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!