FRM Part I · FRM Exam Part I · Machine Learning and Prediction
A risk analyst builds a feedforward neural network to predict loan defaults. Which description best characterizes the role of a hidden layer in this network?
A hidden layer applies weights and a nonlinear activation function to its inputs, generating intermediate features that subsequent layers use. This is what lets neural networks capture nonlinear relationships. It is unrelated to averaging trees, outlier removal, or setting the learning rate.
- AIt applies weights and a nonlinear activation function to the inputs, creating intermediate features used by later layersCorrect
- BIt computes the final default probability by averaging the outputs of independent decision trees
- CIt removes all observations whose input values lie outside two standard deviations of the mean
- DIt fixes the learning rate to a constant value so that gradient descent converges in one step
Explanation
Hidden layers take weighted sums of inputs and pass them through nonlinear activation functions, producing intermediate representations that later layers combine. Averaging independent trees describes a random forest, not a hidden layer. Hidden layers do not clean data or set the learning rate.
Did you get it right without looking?
One question tells you little. A timed set on Machine Learning and Prediction shows your real accuracy, how long you take and where you lose marks.
More Machine Learning and Prediction questions
- In a K-means run with K = 2, five one-dimensional observations are 1, 2, 4, 9 and 10. The initial centroids are 2 and 9. After assigning eac…
- Which statement correctly distinguishes a random forest from plain bagging of decision trees?
- A neural network hidden node receives inputs x1 = 2 and x2 = -1. The weights are w1 = 0.5 and w2 = 1.5, and the bias is 0.25. The node uses …
- In k-fold cross-validation with k = 5 applied to a sample of 500 observations, how many observations are used to train the model in each ite…
- A risk analyst applies principal components analysis (PCA) to a set of 10 highly correlated yield-curve variables. Which statement best desc…
- A risk analyst builds a feed-forward neural network to predict loan default. The network has an input layer, two hidden layers and an output…