I'm trying to implement a simple neural network to help me understand the concept. What I'm now not sure about is how the matrix of weights is formatted.
- Input layer: 2 inputs
- Hidden layer: 2 nodes
- Output layer: 1 node
From what I've understood, this is what I send as input to the output layer:
outputFromLayerOne = [ sigmoid ( ( (input * weights + bias) + (input  * weights + bias) ) ), sigmoid ( ( (input * weights + bias) + (input  * weights + bias) ) )]
In other words, since there are 2 nodes in the hidden layer 1, there is are only two weights that get applied against the two inputs. Is this how it is set up, or are there two weights for each node in my hidden layer?