Main Content

plotsomnc

Plot self-organizing map neighbor connections

Syntax

plotsomnc(net)

Description

plotsomnc(net) plots a SOM layer showing neurons as gray-blue patches and their direct neighbor relations with red lines.

This plot supports SOM networks with hextop and gridtop topologies, but not tritop or randtop.

Examples

Plot SOM Neighbor Connections

x = iris_dataset;
net = selforgmap([8 8]);
net = train(net,x);

Figure Neural Network Training (20-Jul-2024 16:53:02) contains an object of type uigridlayout.

plotsomnc(net)

Figure SOM Neighbor Connections (plotsomnc) contains an axes object. The axes object with title SOM Neighbor Connections contains 386 objects of type patch, line.

Version History

Introduced in R2008a