How to get EM log-likelihood

The engine.
Post Reply
musicpxg
Posts: 19
Joined: Sat Feb 16, 2013 6:24 am

How to get EM log-likelihood

Post by musicpxg »

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
musicpxg
Posts: 19
Joined: Sat Feb 16, 2013 6:24 am

Re: How to get EM log-likelihood

Post by musicpxg »

Can anybody help me?
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: How to get EM log-likelihood

Post by shooltz[BayesFusion] »

Can you run learning in GeNIe and check the value? It's displayed after EM finishes.
Post Reply