Skip to content

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

A hidden node in a neural network receives three inputs x1 = 2, x2 = -1 and x3 = 3 with weights 0.5, 2.0 and -0.4 respectively, and a bias of 0.6. The node uses a ReLU activation, f(z) = max(0, z). What is the node's output?

The output is 0.00. The weighted sum plus bias is 1 - 2 - 1.2 + 0.6 = -1.6, which is negative. A ReLU activation returns the maximum of zero and the input, so the negative pre-activation is set to zero.

  1. A0.00Correct
  2. B-0.60
  3. C0.40
  4. D1.00

Explanation

z = 0.5(2) + 2.0(-1) + (-0.4)(3) + 0.6 = 1 - 2 - 1.2 + 0.6 = -1.6. ReLU returns max(0, -1.6) = 0. The value -1.6 is the pre-activation, and omitting the bias or mis-signing terms gives the other values.

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