Neurons
Neurons — Knowhow
![[Neuron.png]] Source
Looking at this diagram this “node” (neuron) receives three inputs: $x_1, x_2, x_3$ with weights $w_1, w_2, w_3$. These all funnel into the node which then calculates the weighted sum ($Z$) of all these inputs, i.e. $\sum_{i=1}^nw_i\cdot{x_i+b}$ with a added bias (in this case the upper limit $n$ is 3), which you could interpret as how sensitive it is to activation, if it isn’t there the bias $b$ might be negative, for insensitive, and vice versa.
Then the output $Z$ is passed into an activation function $f(Z)$, there are three iconic activation functions:
- ReLU, defined as \(max(0, Z)\)
- $tanh(x)$, defined as \(\frac{e^{2x}-1}{e^{2x}+1}\)
- $\sigma(x)$ (Sigmoid), defined as \(\frac{1}{1+e^{-x}}\)
This desmos graph can visualize them.
#ai #ai/conceptual