candidate y ↓ evaluate p(x | y) ↓ combine with p(y) ↓ compare p(x | y)p(y) ↓ select the best y