A maximum a posteriori probability (MAP) estimate is an estimate of an unknown quantity, that equals the mode of the posterior distribution.
MAP estimation can be seen as a regularization of Maximum Likelihood Estimation (MLE)
Assume that we want to estimate an unobserved population parameter on the basis of observations . Let be the sampling distribution of , so that is the probability of when the underlying population parameter is . Then the function
is known as the likelihood function and the estimate
is the maximum likelihood estimate of
Now assume that a prior distribution over exists. This allows us to treat as a random variable. We can calculate the posterior distribution of using Bayes' Theorem:
where is the PDF of , and is the domain of
The method of maximum a posteriori estimation then estimates as the mode of the posterior distribution of this random variable