Dragon 龙
20.0%
Prior / 先验
Ghost 幽灵
30.0%
Prior / 先验
Sphinx 斯芬克斯
50.0%
Prior / 先验
Clue / 线索
"The creature has wings." / 「它有翅膀。」
90%
P(wings|Dragon)
有翅膀 | 龙
10%
P(wings|Ghost)
有翅膀 | 幽灵
40%
P(wings|Sphinx)
有翅膀 | 斯芬克斯
P(H|E) = P(E|H) · P(H) / P(E)
Posterior = Likelihood × Prior / Evidence
后验 = 似然 × 先验 / 证据

Bayes' Theorem / 贝叶斯定理: Start with prior beliefs about each hypothesis. When you see evidence E, multiply each prior by the likelihood P(E|H) — how likely that evidence would be if the hypothesis were true. Normalize by P(E) (the total probability of seeing E across all hypotheses) to get the posterior.
从每个假设的先验信念开始。当你看到证据 E 时,将每个先验乘以似然 P(E|H)——即如果假设成立,看到该证据的概率。再除以 P(E)(在所有假设下看到 E 的总概率)进行归一化,得到后验。

Spell Mastered!

The oracle bows — you have reasoned correctly.
神谕颔首——你的推理正确无误。

The Sphinx is the most likely creature.
斯芬克斯是最可能的生物。