I'm trying to get this result:
$P(Y,\theta \mid D,X) = P(Y \mid \theta, D,X) P(\theta | D)$
But I can't get exactly $P(Y \mid \theta, D,X) P(\theta | D)$ in the right side of the equation. What I get is:
$P(Y,\theta \mid D, X)=\frac{P(Y, \theta, D, X)}{P(D, X)}=\frac{P(Y \mid \theta, D, X) P(\theta \mid D, X)P(D, X)}{P(D, X)}=P(Y \mid \theta, D, X) P(\theta \mid D, X)$
Is it possible to get rid of the $X$ in $P(\theta \mid D,X)$