MATLAB: Neural net visualisation

neural network

I'm able to produce neural nets that work but I want to know what the resulting network looks like. Ideally some sort of graph with edges for each neuron showing their weights. If this does not exist, could someone give me a description of the network object output that will let me find and understand the weights myself?

Best Answer

The simplest solutions use integer weights, two hidden nodes with sign activation functions, purelin output activation functions and polar binary targets [-1 1 1 -1].
Since there are only 4 training equations for estimating (2+1)*2+(2+1)*1 = 9 weights, solutions are far from being unique without other constraints.
You can play around with the equations and determine your own version of "simplest solutions".
These can be easily transformed into solutions for continuous activation functions by replacing sign with tansig. The transformation of purelin to tansig or logsig is also straightforward.
Good Luck.
Greg