What is the purpose of an activation function in a neural network?

Answer

To introduce non-linearity into the network

Explanation

An activation function introduces non-linearity to the output of a neuron, allowing the neural network to learn complex patterns and relationships in the data that linear models cannot capture.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list