I'm new to this site and was wondering if anyone could shed any light on maximum posteriori hypothesis for me. I know that the formula is:
$\hat{h}_{MAP} = \text{argmax}_h \; \; p(D|h)p(h)$
I know that $P(D|h)$ stands for the probability of $D$ given $h$ and that $p(h)$ is the prior probability of hypothesis $h$.
Here's the example that I'm trying to work through:
When a test for cancer is given to patients, 98.5% of the patients who have the disease test positive and 9.5% of the patients who do not have the disease test positive. Suppose that 8% of patients have the disease. What is the maximum a posteriori hypothesis for a patient who tests positive?