贝叶斯公式

P(xy)=P(x)P(yx)P(y)P(y)=xP(yx)P(x)\begin{aligned} P(x|y) = \frac{P(x)P(y|x)}{P(y)} \\ P(y) = \sum_x P(y|x)P(x) \end{aligned}

Last updated