Activation Functions

The activation function in the neural network is to increase non-linearity. The activation function selects a threshold, that is, when it is greater than a certain value, it will be activated, and it will output 0 when it is less than or equal to. 

In fact, doing so is in line with human intuition. For brain cells, there should also be a certain threshold, and the cell will be activated or become sensitive. Because cells or brain nerves have different thresholds for external stimuli (or different response values), different people have different sensitivity to the same stimulus.

The activation function can also be understood as an affine transformation (spatial mapping) of the feature space, in which a linear boundary is found. The physical structure of a typical neuron includes a cell body, axons that send signals to other neurons, and dendrites that receive signals or information from other neurons. Neurons receive signals from other neurons through dendrites. The weight of the dendrites is called the synaptic weight, which is multiplied by the received signal. The signal from the dendrites accumulates continuously in the cell body. If the signal intensity exceeds a certain threshold, the neuron transmits information to the axon. If it does not exceed, the signal is "killed" by the neuron and cannot be propagated further.