FRM Part I · FRM Exam Part I · Machine Learning and Prediction
In training a deep neural network, what is the purpose of the backpropagation algorithm?
Backpropagation efficiently computes the gradient of the loss with respect to every weight by applying the chain rule backward from the output layer. Gradient descent then uses these gradients to update weights. It does not initialize weights, split data, or choose network architecture.
- ATo compute the gradient of the loss with respect to each weight efficiently using the chain ruleCorrect
- BTo randomly select the initial weights of the network
- CTo split the data into training and test sets
- DTo choose the number of hidden layers automatically
Explanation
Backpropagation applies the chain rule from the output layer back through the hidden layers to obtain the loss gradient for every weight. An optimizer such as gradient descent then uses these gradients to update the weights. It does not initialize weights, split data, or select the architecture.
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
- An analyst runs PCA on three unstandardized variables whose variances are 100, 4 and 1, with small covariances between them. The analyst not…
- A bank's credit-default classifier is tested on 200 loans. It flags 50 loans as defaults, of which 40 actually defaulted. In total 60 loans …
- A single-output neural network uses squared-error loss L = 0.5(y - ŷ)², where ŷ = w·x with no activation and no bias. For one observation, x…
- Two variables are standardized and have a correlation of 0.60. What are the eigenvalues of their correlation matrix, and what proportion of …
- A neural network with many parameters achieves very low error on the training set but substantially higher error on a validation set. Which …
- A model predicts whether a trade is fraudulent. Of 1,000 trades, 20 are actually fraudulent. The model flags 25 trades, of which 15 are actu…