Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 3.1 - MLE for the Beroulli/binomial model
Exercise 3.1 - MLE for the Beroulli/binomial model
Answers
We begin with (3.11), which is the likelihood function of a collection of the outcomes in a coin-toss experiment w.r.t. the parameter , the probability of heads:
where and are the number of tails/heads respectively.
To decompose the differential into term-independent forms, taking logarithm:
Setting its derivative to zero:
yields (3.22):
where is the size of .
Of course one need not turn to the logarithmic field. Differentiating w.r.t. directly gives the same result. But taking a logarithm almost always simplifies the form and the deduction procedure.