Saving evidence

The engine.
Post Reply
gasparz
Posts: 7
Joined: Mon Sep 28, 2009 10:03 am

Saving evidence

Post by gasparz »

Hi,

I am using Smile in a project that generates BN automatically from data in a database.

As the size of the BN is large 300-1000 nodes and because for some nodes I set evidence values automatically I would like to save the evidence I set to the xsdl file. This can be useful so that I can open the network in Genie, maybe set some more evidence or just play with the network.

Can I do a thing like this, or is there some work around?

Thank,
Gasparz
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Saving evidence

Post by shooltz[BayesFusion] »

gasparz wrote:Can I do a thing like this, or is there some work around?
Yes, you can add cases to the network (DSL_network::AddCase method, DSL_simpleCase class). In GeNIe, use View|Case Manager option.
HoloDoc
Posts: 5
Joined: Tue Nov 24, 2009 3:50 pm

Post by HoloDoc »

What if I'm using JSmile, is there a possibility to add cases as well?
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Post by shooltz[BayesFusion] »

HoloDoc wrote:What if I'm using JSmile, is there a possibility to add cases as well?
No, this functionality is not exposed through jSMILE at this point. However, we provide full source code for jSMILE, so it should be quite easy to extend the library in order to provide access to the cases.
Post Reply