Skip to content

FRM Part I · FRM Exam Part I · Machine-Learning Methods

A network has 4 inputs, one hidden layer with 5 neurons, and 1 output neuron. Every neuron in a layer is connected to every neuron in the previous layer, and each hidden and output neuron has one bias term. How many parameters must be estimated?

The network has 31 parameters: 20 input-to-hidden weights, 5 hidden biases, 5 hidden-to-output weights and 1 output bias. Leaving out biases is the common error that produces answers such as 25 or 30.

  1. A31Correct
  2. B25
  3. C26
  4. D30

Explanation

Input-to-hidden weights: 4×5 = 20; hidden biases: 5; hidden-to-output weights: 5×1 = 5; output bias: 1. Total = 20 + 5 + 5 + 1 = 31. Omitting the output bias gives 30; omitting all biases gives 25; 26 counts only weights plus one bias.

Did you get it right without looking?

One question tells you little. A timed set on Machine-Learning Methods shows your real accuracy, how long you take and where you lose marks.

More Machine-Learning Methods questions