Activation Function
Definition
Mathematical function for converting signals in a neural network.
An activation function transforms the calculated signal of a neuron, for example its weighted input sum. It is usually non-linear so that several layers can depict complex relationships. Examples are ReLU, Sigmoid and GELU; the appropriate function depends on architecture and task.
Simply explained
A computation rule determines how an intermediate result is passed on to the next stage.
Why it matters in practice
Helps you understand the structure and training behavior of neural networks.
Example from business
Example scenario: A hidden layer uses ReLU to set negative input values to zero.
Limits and pitfalls
- Interpret each activation as probability; choose the same output function for all tasks; overlook unfavorable gradients.
Origin & history
Activation functions are among the basic building blocks of neural networks. Keras documents both classical functions such as sigmoid and variants such as GELU.
Use in mid-sized companies
- Choose consciously for own model projects; for finished AI services usually already defined by the model.
Frequently asked questions
Are all activations nonlinear?
No, there is also the linear identity function.
Is every output value between zero and one?
No, that depends on the function.
Sources
- Layer activation functions · Keras, Layer activation functions
Source verification: 10/09/2026. The sources support definition and documented classification; application examples are possible scenarios.
Editorially reviewed on: