Search found 5 matches

by diana
Fri Aug 13, 2010 10:19 am
Forum: SMILE
Topic: Different Results in Learning
Replies: 5
Views: 9818

Thanks for your prompt reply.

The net I am using is actually different from the one posted, that one was just for testing the implementation of the learning. I am using the four level BN with 25 input nodes. Unfortunately, I am not allow to share the net, nor the trainingset.

For a training set of ...
by diana
Thu Aug 12, 2010 7:22 am
Forum: SMILE
Topic: Different Results in Learning
Replies: 5
Views: 9818

First of all, thanks for your reply.

It still gives different results. But now the main difference is that Genie does not give me an estimation for parameters for which i don't have evidence.
So if a combination of states does not occur in my learning data the distribution is left uniform (i am ...
by diana
Thu Jul 22, 2010 2:56 pm
Forum: SMILE
Topic: Different Results in Learning
Replies: 5
Views: 9818

Different Results in Learning

I'm using the EM for parameter learning and the results from Genie and Smile differ quite a lot. I am using the default setting for em learning in smile. Is there an explanation for that, or am I doing smth wrong?

void EM(DSL_network &theNet, string NBfile_Learning, string DiscParameterFileName ...
by diana
Thu Jul 01, 2010 2:17 pm
Forum: SMILE
Topic: SoftEvidence => Uncaught Exception
Replies: 3
Views: 6575

theNet.GetNode(success) returns 0 ( i.e. it is successful)

Also I can set "normal" evidence with SetEvidence:
theNet.GetNode(success)->Value()->SetEvidence(ev);

But with SetSoftEvidence, it just fails terminates.

Thanks
Diana
by diana
Wed Jun 30, 2010 4:13 pm
Forum: SMILE
Topic: SoftEvidence => Uncaught Exception
Replies: 3
Views: 6575

SoftEvidence => Uncaught Exception

I have been trying to make use of the SoftEvidence feature provide by smile, but for some reason I keep getting: uncaught exception error message even for the simplest code:

vector<double> evidence;
evidence.push_back(0.20);
evidence.push_back(0.80);
int ok = theNet.GetNode(success)->Value ...