With a prior and observed heads and tails,
return the MAP estimate of the success probability.
The prior acts as pseudo-counts. With it is flat and the MAP collapses to the MLE, which is why that choice is the "no opinion" prior.
Input
alpha = 2.0
beta = 2.0
heads = 7
tails = 3
Output
0.6666666666666666