Hints

MATH-C09-C-001

Compute the prediction error first.

MATH-C09-C-002

Use w - learning_rate * gradient.

MATH-C09-C-003

Divide dataset size by batch size.

MATH-C09-C-004

Add the two objective terms.

MATH-C09-C-005

Multiply learning rate by gradient.

MATH-C09-C-006

Training loss and reported metrics can be different numbers.

MATH-C09-C-007

This is the main clean guarantee of convexity.

MATH-C09-C-008

Compute 8 + 0.25 * 4.

MATH-C09-C-009

Momentum carries recent movement.

MATH-C09-C-010

A symptom tells you something went wrong, not necessarily why.

MATH-C09-C-011

Ask whether one training number can capture every part of useful behavior.

MATH-C09-C-012

The gradient gives local direction. The learning rate decides how far to move.

MATH-C09-C-013

Averaging more examples usually reduces noise, but those examples must be processed.

MATH-C09-C-014

The clean local-minimum guarantee is a convexity guarantee.

MATH-C09-C-015

Regularization changes the objective. Validation checks what happened outside the fitting data.