Is there a method to get a sample based on the BN/ID?

The engine.
Post Reply
gund
Posts: 15
Joined: Wed Sep 09, 2009 9:02 am

Is there a method to get a sample based on the BN/ID?

Post by gund »

Wondering whether there's a build-in way to get a random sample based on the model and evidence.

Can't find one in the current API, but I'm sure there's code in the library that does that right?

BTW thanks for all the answers to questions I have posted, and I have posted quite a lot.
shooltz[BayesFusion]
Site Admin
Posts: 1457
Joined: Mon Nov 26, 2007 5:51 pm

Re: Is there a method to get a sample based on the BN/ID?

Post by shooltz[BayesFusion] »

gund wrote:Wondering whether there's a build-in way to get a random sample based on the model and evidence.
Can't find one in the current API, but I'm sure there's code in the library that does that right?
If you mean something like output from GeNIe's 'Generate Data' command, then unfortunately it's not in the library. The implementation is in GeNIe-specific code.
gund
Posts: 15
Joined: Wed Sep 09, 2009 9:02 am

Post by gund »

I just read the help about Generate Data File. Yes that would be what I was looking for.

It's ok though, I just wrote some code to do the same thing.
Post Reply