What is the role of the activation function in a neural network?

  • It controls the number of epochs in training.
  • It defines the learning rate during training.
  • It initializes the weights of the network.
  • It introduces non-linearity into the network, allowing it to learn complex patterns.
The activation function introduces non-linearity into the neural network, which enables it to learn complex relationships in data. It doesn't initialize weights, set the learning rate, or control the number of epochs.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *