Search code examples
matlabneural-networkdata-fitting

Explanation of Diagram of Matlab Neural Network


My neural network looks like this enter image description here but I'm a bit confused by this diagram.

Clearly we have 10 input values and 2 output values.

There are also 10 hidden neurons. So I assume each of the 10 inputs are connected to each of the 10 hidden neurons?

Also what do the Ws and Bs mean?


Solution

  • I have yet to find a description of this diagram in Matlab's documentation, but it is a simplification of the diagram shown here. You have one hidden layer with neurons which are each connected to all the inputs. Note that the number of neurons won't always be the same as the number of inputs, which are both 10 here. W=weights, b=biases. There is a nice intro here.