Neuron (neural network)
From Maths
Definition
|
Block diagram of a generic neuron with inputs: I1,…,In |
---|
- an output domain, O typically [−1,1]⊆R or [0,1]⊆R
- Usually {0,1} for input and output neurons
- some inputs, Ii, typically Ii∈R
- some weights, 1 for each input, wi, again wi∈R
- a way to combine each input with a weight (typically multiplication) (Ii⋅wi - creating an "input activation", Ai∈R
- a bias, θ (pf the same type as the result of combining an input with a weight. Typically this can be simulated by having a fixed "on" input, and treating the bias as another weight) - another input activation, A0
- a way to combine the input values, typically: ∑nj=0Aj=∑nj=1Ijwj+θ
- an activation function A(⋅):R→O⊆R, this maps the combined input activations to an output value.
In the example to the right, the output of the neuron would be:
- A(∑ni=1(Iiwi)+θ)
Specific models
For an exhaustive list see Category:Types of neuron in a neural network
McCulloch-Pitts neuron
|
Diagram of a McCulloch-Pitts neuron |
---|
- Inputs: (I1,…,In)∈Rn
- Usually each Ii is confined to [0,1]⊂R or [−1,1]⊂R
- A set of weights, one for each input: (w1,…,wn)∈Rn
- A bias: θ∈R
- An activation function, A:R→R
- It is more common to see A:R→[−1,1]⊂R or sometimes A:R→[0,1]⊂R than the entire of R
The output of the neuron is given by:
- Output:=A(n∑i=1(Iiwi)+θ)
References
- Jump up ↑ Neural Networks and Statistical Learning - Ke-Lin Du and M. N. S. Swamy
Template:Neural networks navbox