HI;
i finally found how this works. for amatur programmers like me that was really confusing that why ready codes dose not work.
Search found 21 matches
- Sat Apr 23, 2022 9:16 pm
- Forum: SMILE
- Topic: codes dose not run in python
- Replies: 1
- Views: 29949
- Fri Apr 22, 2022 5:24 pm
- Forum: SMILE
- Topic: ErrNo=-103
- Replies: 3
- Views: 39362
Re: ErrNo=-103
HI;
i use this and worked
thank you
i use this and worked
Code: Select all
net.read_file(r"C:\Users\****\Desktop\Discretized_model.xdsl")
- Fri Apr 22, 2022 5:18 pm
- Forum: SMILE
- Topic: discretize, Epis Algorithm and set alot of evidence
- Replies: 0
- Views: 46646
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 ...
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 ...
- Wed Apr 20, 2022 9:35 pm
- Forum: GeNIe
- Topic: network structure is too complex
- Replies: 1
- Views: 6432
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 ...
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 ...
- Tue Apr 19, 2022 9:06 pm
- Forum: SMILE
- Topic: codes dose not run in python
- Replies: 1
- Views: 29949
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 ...
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 ...
- Tue Apr 19, 2022 7:31 pm
- Forum: SMILE
- Topic: ErrNo=-103
- Replies: 3
- Views: 39362
Re: ErrNo=-103
HI;
no answer or idea ??
no answer or idea ??
- Sun Apr 17, 2022 12:07 pm
- Forum: SMILE
- Topic: DLL load failed in python
- Replies: 3
- Views: 23340
Re: DLL load failed in python
HI;
my problem solved .
thank you
my problem solved .
thank you
- Sun Apr 17, 2022 12:02 pm
- Forum: SMILE
- Topic: ErrNo=-103
- Replies: 3
- Views: 39362
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()
VentureBN.xdsl
i ...
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()
VentureBN.xdsl
i ...
- Thu Apr 14, 2022 11:43 am
- Forum: SMILE
- Topic: NameError: name 'self' is not defined
- Replies: 3
- Views: 16543
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 ...
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 ...
- Wed Apr 13, 2022 6:33 pm
- Forum: SMILE
- Topic: NameError: name 'self' is not defined
- Replies: 3
- Views: 16543
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",
["Success","Failure"],
60, 40)
f = self.create_cpt ...
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",
["Success","Failure"],
60, 40)
f = self.create_cpt ...
- Wed Apr 13, 2022 4:57 pm
- Forum: SMILE
- Topic: DLL load failed in python
- Replies: 3
- Views: 23340
Re: DLL load failed in python
HI;
but my python is 64 bit
but my python is 64 bit
- Wed Apr 13, 2022 10:42 am
- Forum: SMILE
- Topic: DLL load failed in python
- Replies: 3
- Views: 23340
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 ...
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 ...
- Mon Apr 04, 2022 9:23 am
- Forum: GeNIe
- Topic: conditional equation for evidence
- Replies: 1
- Views: 6767
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 ...
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 ...
- Thu Mar 24, 2022 7:18 pm
- Forum: GeNIe
- Topic: discretize equation node for DBN
- Replies: 3
- Views: 8396
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 ...
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 ...
- Wed Mar 23, 2022 10:36 pm
- Forum: GeNIe
- Topic: discretize equation node for DBN
- Replies: 3
- Views: 8396
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 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 ...