Aggregation Function of Neural Network
Inside a computational neuron, the weights and the inputs to the neurons are interacted and aggregated into a single value. The way we gather the input from the other previous neurons are called aggregation function. There are many aggregation functions but we will focus on the few important ones.
The most important aggregation function is called sum of product. Internally, this neuron will accumulate the sum product of the synapses weights and the input neurons, which includes the bias and the dummy input. This neuron will compute:
If we have more than one computational neurons, the synapses weights are denoted by two subscripts. Subscript represents the previous neuron and subscript represent the current neuron under consideration. The sum of product for current neuron is computed as
When there are more than one arrows going out of a cell, all of these arrows provide the same value. For example, in the diagram below a sensory cell has two arrows out of the cell. Suppose the value. This value would be used as the input to both neuron and. Notice we use two subscripts for the synapses weights.
We have a simple neural network with three sensory cells and one neuron. The synapses weight values are given in the diagram below. Suppose the values of the sensory cells are. What is the value of the sum product?
Note in the diagram above, the two operations inside the neuron are not shown to make the diagram simpler. The number inside neuron represents the bias input value. You have to remember that the operation of sum product and the activation function are always there inside a neuron cell.
Preferable reference for this tutorial is
Teknomo, Kardi (2017). Neural NetworkTutorial. http:\\people.revoledu.com\kardi\tutorial\NeuralNetwork\