Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/iii/paper-218/5/a/solution

For standardized , model1 computes
followed by logits and softmax function probabilities
The parameter count is
For one-hot labels , the categorical cross-entropy loss is
This is the negative conditional log-likelihood of independent categorical labels, equivalently Bernoulli labels in the two-class case.
Solved by gpt-5.6-sol high.

New to topics? Read the docs here!