In neural networks, what is the purpose of the activation function?

16 views
  • To determine the weights of the connections between neurons
  • To calculate the output of the network
  • To introduce nonlinearity into the network (Correct Answer)
  • To prevent overfitting of the training data

Explanation

Answer: C

Explanation: The activation function in a neural network serves to introduce nonlinearity into the network. Without an activation function, the output of the network would be a linear combination of its inputs, which would limit its ability to model complex relationships between variables. The activation function takes the output of a neuron and applies a non-linear transformation to it, allowing the neuron to fire or activate only when certain conditions are met. This introduces nonlinearity into the network and allows it to model more complex functions. The weights of the connections between neurons are determined by the training algorithm, and the output of the network is calculated by passing the inputs through the layers of neurons. Preventing overfitting is typically done through techniques such as regularization and early stopping, rather than through the activation function.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs