I'm having trouble understanding the proper definition of Bayes risk. Let the data/variate $x \sim P(X|\theta)$, $\theta\in \Theta$, $\pi$ be a distribution on $\Theta$ (prior), $\hat \theta(x)$ be an estimator of $\theta$ based on a variates $x$, and $L$ a loss function between true and estimated parameters $\theta$. It appears to me that there are two different notions of Bayes risk around:
- For given data , the Bayes risk is defined as $$\mathbb{E}[L(\theta, \hat\theta(x)]$$ with the expectation taken over the prior $\pi$, and $x$ fixed. This is what you'll find in Wikipedia, for instance.
- In function estimation like wavelet theory, and when contrasting Bayes and minimax estimation, the risk is defined as $$R(\theta, \hat\theta) = \mathbb{E}[L(\theta, \hat\theta(x))]$$ where the expectation is taken over $P(X|\theta)$ (in regression, where $\theta$ is the signal, this means we integrate over the noise). For minimax estimation, we look at the maximum risk $$\max_{\theta\in\Theta} R(\theta, \hat\theta)$$ whereas for the Bayes risk, we put a prior $\pi$ in $\Theta$, so the Bayes risk is defined as $$\mathbb{E}[R(\theta, \hat\theta)]$$ with the expectation taken with respect to $\pi$.
So one is defined for a specific variate, using the loss function, whereas the other is defined for the expected loss (risk) across all variates. I was wondering if these are really two different things, or my understanding is off, or if they are two sides of the same thing. I would appreciate any clarification.