I'm new to this topic.
Suppose that
$ f(x) = x^Tw$, where both $x$ and $w$ are independent random variables with known probability density function.
$ y(x) = f(x) + \epsilon $ where $ \epsilon \sim N(0, \sigma^2_n)$, and $\epsilon$ is independent of $x$ and $w$.
I would like to show that $$ p(w|y,x) = \frac{p(y|x,w) p(w)}{p(y|x)}. $$
Here is what I have tried:
