Hi ,
i am using EM to learn Bayesian network. As in this tutorial has been said:
https://dslpitt.org/genie/wiki/Reference_Manual:_DSL_em
i use : int Learn(const DSL_dataset &data, DSL_network &net, const vector<DSL_datasetMatch>& matches, double *loglik = NULL) function in c++. But the loglik always remains 0 after learning. what's wrong?
thanks in advance
How to get EM log-likelihood score
-
- Site Admin
- Posts: 1419
- Joined: Mon Nov 26, 2007 5:51 pm
Re: How to get EM log-likelihood score
What's the return code from DSL_em::Learn?
Re: How to get EM log-likelihood score
Oh i found my mistake that was the initialization of my loglik pointer! now it works fine