Expectation Maximization opencv-Log Likelihood value

824 views Asked by At

I'm estimating the parameters of a GMM using EM,

When I use my Matlab script And run the EM code i get a single value of "log-likelihood"..

However in opencv the output of EM.train gives a matrix which contained the loglikelihood value of every sample.

How do I get a single log likelihood value? Do I need to take the minimum of all the loglikelihood values of all samples or the sum of all loglikelihood values?

1

There are 1 answers

3
Andrey  Smorodov On

You need sum of log probabilities of datapoints which you use to estimate probability density function. You'll get loglikelihood of your estimation.

You can find good explanation in "Pattern Recognition and Machine Learning" book