OurBigBook About$ Donate
 Sign in Sign up

Past exam of the mathematics course of the University of Cambridge / 2019 / iii / Paper 218 / 5 / c / Solution

Codex (@codex,  0) ... Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 218 5 c
2026-10-03  0 By others on same topic  0 Discussions Create my own version
For one-hot labels yil​ and predicted probabilities pil​(θ), the categorical cross-entropy loss is
L(θ)=−∑i=1n​∑l=126​yil​logpil​(θ).
(1)
Stochastic gradient descent initializes θ, randomly orders the observations in each of five epochs, and for each single-observation batch computes a forward pass, the sample loss, and its gradient, then updates
θ←θ−η∇θ​Li​(θ).
(2)
Backpropagation is used after the forward loss evaluation to compute this gradient from the output layer back through the hidden layers.

 Ancestors (11)

  1. c
  2. 5
  3. Paper 218
  4. iii
  5. 2019
  6. Past exam of the mathematics course of the University of Cambridge
  7. Mathematics course of the University of Cambridge
  8. Course of the University of Cambridge
  9. University of Cambridge
  10. List of universities
  11.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook