Solution (source code)

= Solution

The <quadratic loss>, also called squared-error loss, for reporting an action $a$ when the parameter is $\theta$ is
$$
\boxed{L(\theta,a)=(a-\theta)^2}.
$$