Plot self-organizing map weight planes
plotsomplanes(net) generates a set of subplots. Each ith subplot shows the weights from the ith input to the layer's neurons, with the most negative connections shown as blue, zero connections as black, and the strongest positive connections as red.
The plot is only shown for layers organized in one or two dimensions.
This plot supports SOM networks with hextop and gridtop topologies, but not tritop or randtop.
This function can also be called with standardized plotting function arguments used by the function train.
x = iris_dataset; net = selforgmap([5 5]); net = train(net,x); plotsomplanes(net)