Search found 21 matches

by bahman
Sat Apr 23, 2022 9:16 pm
Forum: SMILE
Topic: codes dose not run in python
Replies: 1
Views: 3000

Re: codes dose not run in python

HI;

i finally found how this works. for amatur programmers like me that was really confusing that why ready codes dose not work.
by bahman
Fri Apr 22, 2022 5:24 pm
Forum: SMILE
Topic: ErrNo=-103
Replies: 3
Views: 3947

Re: ErrNo=-103

HI;

i use this and worked

Code: Select all

net.read_file(r"C:\Users\****\Desktop\Discretized_model.xdsl")
thank you
by bahman
Fri Apr 22, 2022 5:18 pm
Forum: SMILE
Topic: discretize, Epis Algorithm and set alot of evidence
Replies: 0
Views: 5898

discretize, Epis Algorithm and set alot of evidence

HI; i have some question; 1- i want to dicretize equation model and then save discretized mdel . what is the discretization command? 2- i need to inference with EPIS algorithm but i coul not find this. i just found this ones . which command i have to use? Network.prob_evidence Network.set_bayesian_a...
by bahman
Wed Apr 20, 2022 9:35 pm
Forum: GeNIe
Topic: network structure is too complex
Replies: 1
Views: 1846

network structure is too complex

HI; in this model NODE13 has 10 parents and each paren 2 state . so NODE13 has 1024 state. but when i want to update i get this error Error when running Cooper's algorithm Error (-42): UpdateBeliefs failed - network structure is too complex. 2022-04-21_1-43-43.jpg i tried all of the algorithms. some...
by bahman
Tue Apr 19, 2022 9:06 pm
Forum: SMILE
Topic: codes dose not run in python
Replies: 1
Views: 3000

codes dose not run in python

HI; i am learning pysmile but i really confused that why codes dose not run !!! i jsust copy the codes from Tutorial6 but when i run this . it do nothing and dose not make tutorial6.xdsl file and even i can not read files i said in this topic https://support.bayesfusion.com/forum/viewtopic.php?t=480...
by bahman
Tue Apr 19, 2022 7:31 pm
Forum: SMILE
Topic: ErrNo=-103
Replies: 3
Views: 3947

Re: ErrNo=-103

HI;

no answer or idea ??
by bahman
Sun Apr 17, 2022 12:07 pm
Forum: SMILE
Topic: DLL load failed in python
Replies: 3
Views: 3965

Re: DLL load failed in python

HI;

my problem solved .

thank you
by bahman
Sun Apr 17, 2022 12:02 pm
Forum: SMILE
Topic: ErrNo=-103
Replies: 3
Views: 3947

ErrNo=-103

HI; i het this error pysmile.SMILEException: SMILE Error Occured in: Network.ReadFile ErrNo=-103 i tried this code import pysmile import pysmile_license net = pysmile.Network() net.read_file("VentureBN.xdsl") net.set_evidence("Forecast", "Moderate") net.update_beliefs()...
by bahman
Thu Apr 14, 2022 11:43 am
Forum: SMILE
Topic: NameError: name 'self' is not defined
Replies: 3
Views: 6033

Re: NameError: name 'self' is not defined

HI piotr whould you check this ? is it true ? i still have error def create_cpt_node(self, net, id, name, outcomes, x_pos, y_pos): handle = net.add_node(pysmile.NodeType.CPT, id) net.set_node_name(handle, name) net.set_node_position(handle) initial_outcome_count = net.get_outcome_count(handle) for i...
by bahman
Wed Apr 13, 2022 6:33 pm
Forum: SMILE
Topic: NameError: name 'self' is not defined
Replies: 3
Views: 6033

NameError: name 'self' is not defined

HI; import pysmile import pysmile_license net = pysmile.Network() e = self.create_cpt_node(net, "Economy", "State of the economy", ["Up","Flat","Down"], 160, 40) s = self.create_cpt_node(net, "Success", "Success of the venture", [...
by bahman
Wed Apr 13, 2022 4:57 pm
Forum: SMILE
Topic: DLL load failed in python
Replies: 3
Views: 3965

Re: DLL load failed in python

HI;

but my python is 64 bit
37.jpg
37.jpg (23.68 KiB) Viewed 3959 times
by bahman
Wed Apr 13, 2022 10:42 am
Forum: SMILE
Topic: DLL load failed in python
Replies: 3
Views: 3965

DLL load failed in python

HI i get this error whrn i run model in python . python version is 3.7 import pysmile import pysmile_license ImportError: DLL load failed: %1 is not a valid Win32 application error.jpg i have installed package many times and even i have pysmile.pyd in my directiory and i tested with and without it b...
by bahman
Mon Apr 04, 2022 9:23 am
Forum: GeNIe
Topic: conditional equation for evidence
Replies: 1
Views: 1824

conditional equation for evidence

HI Marek; in this image i need to C*=dt when there is no any evidence for node Z (i mean igonore node C* ) and if node Z have evidence z_1 then node C*=exp(1) https://gcdnb.pbrd.co/images/BeDG6Iwp7dcW.jpg?o=1 iF evidence in node Z is set to Z_1 state then C*=EXP(1) ELSE C*=node dt (Identity Matrix c...
by bahman
Thu Mar 24, 2022 7:18 pm
Forum: GeNIe
Topic: discretize equation node for DBN
Replies: 3
Views: 2251

Re: discretize equation node for DBN

HI Marek; If I understand what you mean, you said you could help me. Yes, I will be very happy if you can help me in this particular case as well. These are the equation data and this is the Bayesian network in question. I would be very grateful if you could check to see if the conditional probabili...
by bahman
Wed Mar 23, 2022 10:36 pm
Forum: GeNIe
Topic: discretize equation node for DBN
Replies: 3
Views: 2251

discretize equation node for DBN

HI Marek; i want to discretize a equation for DBN. i foud this topic https://support.bayesfusion.com/forum/viewtopic.php?t=4719 and your predator-prey models and your files. are you used from discretezied CPD node F conditional F-1 and R-1 for define CPD node F in t>1 for DBN? and the same for R ? i...