Solution (source code)

= Solution

The Bayes risk is $r(\pi,\delta)=\int R(\delta,\theta)\,\pi(d\theta)$.