A neural network has 3 input nodes, 2 hidden layers with 4 nodes each, and 1 output node. How many parameters does the network have, including the bias terms?

13 views
  • 27
  • 37
  • 47 (Correct Answer)
  • 57

Explanation

The correct answer is C. 47. To calculate the number of parameters, we need to take into account the number of weights and biases in the neural network. Specifically, we have: Each of the 3 input nodes is connected to each of the 4 nodes in the first hidden layer, giving us a total of 3 * 4 = 12 weights. Each of the 4 nodes in the first hidden layer is connected to each of the 4 nodes in the second hidden layer, giving us a total of 4 * 4 = 16 weights. Each of the 4 nodes in the second hidden layer is connected to the output node, giving us 4 weights. Each layer has its own bias term, so we have 4 bias terms in each hidden layer, and 1 bias term in the output layer, giving us a total of 9 biases. Finally, since there are 3 input nodes, we have 3 additional bias terms, one for each input node. Therefore, the total number of parameters in the network is 12 weights from the input layer to the first hidden layer, 16 weights from the first hidden layer to the second hidden layer, 4 weights from the second hidden layer to the output layer, 9 biases (4 biases for each of the two hidden layers and 1 bias for the output layer), and 3 biases for the input layer, giving a total of 12 + 16 + 4 + 9 + 3 = 44 parameters. Therefore, the closest option among the provided answer choices is C. 47.

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