Given the posterior predictive distribution for a new data point $x^*$, the posterior predictive distribtion given some data $(X,Y)$
\begin{align*} p(y^*|x^*,X,Y) = \int p(y^*|x^*,\omega) p(\omega|X,Y) \, d \omega \end{align*}
gives us the distribution of future predicted data $y^*$.
What is the logic behind the integral? Why do we need an integral here?
Cheers
EDIT: What is the intuition behind the integral? Obviously it measures some kind of area within $p(y^*|x^*,\omega) p(\omega|X,Y)$, which are nothing more than mass functions.