Machine Learning Fundamentals interview question

Explain how a neural network learns with backpropagation.

How it works Asked in Machine Learning Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

A forward pass computes predictions layer by layer and a loss compares them with targets. Backpropagation applies the chain rule to compute the gradient of the loss with respect to every weight, layer by layer from the output back, and an optimiser updates the weights. Repeating this over many mini-batches trains the network.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Machine Learning Fundamentals questions

← All Machine Learning Fundamentals questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake