Bayesian Network doesnt learn

The engine.
Post Reply
BayesianNetworkNewbie
Posts: 3
Joined: Mon Jun 28, 2010 4:41 am

Bayesian Network doesnt learn

Post by BayesianNetworkNewbie »

Hi Goodday,

I use data1 to train my Bayesian network which created by Genie. Then, it will gv me a new set of Learned Network. With the new learned network,i m using data2, i set the S and M as evidence and i would like to obverse HB. But it seem doesnt work out..

Error show in smile as below:
Exception in thread "main" smile.SMILEException: SMILE error -2 in function SetEvidence
at smile.Network.setEvidence(Native Method)
at PaperOne.main(PaperOne.java:43)

Kindly assists. Thanks so much
Attachments
data1.txt
(3.55 KiB) Downloaded 289 times
data2.txt
(17.41 KiB) Downloaded 315 times
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Bayesian Network doesnt learn

Post by shooltz[BayesFusion] »

Error -2 may be caused by conflicting evidence from the data file. You can try entering the same evidence in GeNIe (assuming that you can identify which row from your data file triggers the exception).
BayesianNetworkNewbie
Posts: 3
Joined: Mon Jun 28, 2010 4:41 am

Post by BayesianNetworkNewbie »

Hi thanks for the reply.
i have tried that but seem they r working good in Genie but once with smile it throws this error.
BayesianNetworkNewbie
Posts: 3
Joined: Mon Jun 28, 2010 4:41 am

Post by BayesianNetworkNewbie »

Im so sorry. i think i found the problem i have created wrong Bayesian Network hahaha :oops:
Post Reply