What is a neural network's activation function?
An activation function is a mathematical function applied to a neuron’s output in a neural network, helping the model learn complex patterns. Common examples include ReLU, sigmoid, and tanh.