—
Forward pass and backpropagation
Tutor me on https://mlprep.iwase.dev/item/original-ml-forward-backprop/. If window.mlPrepAgent is available, read attempts for item original-ml-forward-backprop before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Problem
A scalar network has , , and loss
At , , , and , compute , , , , and .
Reveal answer or reference solution
, , and . The derivatives are
and
because the ReLU input is positive.
Local history
Loading attempts saved in this browser…