Solutions

MATH-C09-C-001

(85)2=32=9(8 - 5)^2 = 3^2 = 9

MATH-C09-C-002

wnew=100.5(6)=103=7w_{new} = 10 - 0.5(6) = 10 - 3 = 7

MATH-C09-C-003

1200/300=41200 / 300 = 4

MATH-C09-C-004

12+3=1512 + 3 = 15

MATH-C09-C-005

0.120=20.1 \cdot 20 = 2

MATH-C09-C-006

No. The training loss and reported evaluation metric can be different. A model can improve the optimized loss without automatically improving every metric we care about.

MATH-C09-C-007

Yes. For a convex function, every local minimum is also a global minimum.

MATH-C09-C-008

8+0.254=8+1=98 + 0.25 \cdot 4 = 8 + 1 = 9

MATH-C09-C-009

Yes. Momentum uses information from previous update directions, so the next update is not based only on the current gradient.

MATH-C09-C-010

No. NaN loss is a symptom. The cause might be overflow, division by zero, unsafe logarithms, too large a learning rate, or a bug in the code.

MATH-C09-C-011

Enter 1.

A loss is the number the optimizer can reduce. It is useful because it gives a trainable signal, but it is still a proxy. If the proxy is badly chosen, the optimizer may improve the number without improving the behavior we wanted.

MATH-C09-C-012

Enter 1.

The gradient gives local direction information. A finite update also needs a step size. If the learning rate is too large, the update can overshoot and make the loss worse even when the local direction was reasonable.

MATH-C09-C-013

Enter 1.

A larger mini-batch averages over more examples, so its gradient estimate is usually less noisy. The cost is that each update must process more examples.

MATH-C09-C-014

Enter 1.

For a convex objective, every local minimum is global. General deep neural network losses are not usually treated as convex, so that guarantee should not be assumed.

MATH-C09-C-015

Enter 1.

Regularization changes the training objective by adding a preference or penalty. Whether that preference improves generalization must be checked on held-out data.