Hi,
I am using the EM algorithm to lean BBN. Could anybody let me know how to get the EM log-likelihood? I tried
EM em = new EM();
......
em.learn(data, network, data.matchNetwork(network));
double likehood = em.getLastScore();
However, the result is always 0.0
What's wrong? I am using java.
Thank you!
Best wishes,
Yang
How to get EM log-likelihood
Re: How to get EM log-likelihood
Can anybody help me?
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: How to get EM log-likelihood
Can you run learning in GeNIe and check the value? It's displayed after EM finishes.