Search found 34 matches

by Yang Yajie
Mon Oct 24, 2022 8:44 am
Forum: SMILE
Topic: the pysmile can not learn the parameters of DBN network completely
Replies: 3
Views: 2999

Re: the pysmile can not learn the parameters of DBN network completely

Dear shooltz,

After checking, I found the error in my code. the problem exists in the data file. I have fixed this problem. Thank you very much!

Best wishes,
yajie yang
by Yang Yajie
Fri Oct 14, 2022 9:28 am
Forum: SMILE
Topic: the pysmile can not learn the parameters of DBN network completely
Replies: 3
Views: 2999

Re: the pysmile can not learn the parameters of DBN network completely

thank you very much!. i will send the txt file.
by Yang Yajie
Wed Oct 12, 2022 7:53 pm
Forum: SMILE
Topic: the pysmile can not learn the parameters of DBN network completely
Replies: 3
Views: 2999

the pysmile can not learn the parameters of DBN network completely

Dear sir or madam, Recently, I can not learn the parameters of DBN in python by using the newest version academic pysmile package which I downloaded from the BayesFusion website. I try to create the simple DBN and learn the parameters of the created DBN in python (provided by tutorials from the Baye...
by Yang Yajie
Fri May 13, 2022 7:39 am
Forum: SMILE
Topic: How to save an unrolled network in pySmile?
Replies: 6
Views: 11608

Re: How to save an unrolled network in pySmile?

thank you very much! But when I use these two rows to save the unrolled network, it tells me " AttributeError": 'pysmile.UnrollResults' object has no attribute ' write_file'. I use dir(pysmile.UnrollResults),write_file is not the attribute of pysmile.UnrollResults, as shown in attached pic...
by Yang Yajie
Thu May 12, 2022 11:11 am
Forum: SMILE
Topic: How to save an unrolled network in pySmile?
Replies: 6
Views: 11608

Re: How to save an unrolled network in pySmile?

may i ask how you store the unrolled DBN succesfully? i use below two row codes, but the results shown that i only save original dbn again. could you please tell me how you did that part?

pysmile.UnrollResults = net.unroll()
net.write_file('unrolledDBN.xdsl')
by Yang Yajie
Wed May 11, 2022 8:41 pm
Forum: SMILE
Topic: how to unroll DBN in python by pysmile?
Replies: 0
Views: 5379

how to unroll DBN in python by pysmile?

I load one dbn.xdsl file in python, when I print node information and CPT of node, only static CPT (P(Rain|location)) can be printed. how can I print temporal CPT? for example the CPT of P(Rain|Rain(t-1), location)? if it is not possible, I plan to unroll the DBN into BBN and print the CPT of all no...
by Yang Yajie
Wed May 11, 2022 7:09 pm
Forum: SMILE
Topic: how to set background knowledge by pysmile
Replies: 1
Views: 2608

how to set background knowledge by pysmile

Dear sir or madam, I am using pysmile to create BBN in python. I have two types of background knowledge to set. type one is forbid "A" to "B", forbid "C" to "B". type two is for temporal nodes forbid "A_1" to "A, "B_1" to "B, &quo...
by Yang Yajie
Sat May 07, 2022 9:55 pm
Forum: SMILE
Topic: structure learning for BBN, create DBN structure, learning the parameter of created DBN without GeNIe only using pysmile
Replies: 0
Views: 5375

structure learning for BBN, create DBN structure, learning the parameter of created DBN without GeNIe only using pysmile

Dear sir or madam, I am recently using large-scale data. But because of privacy, the GeNIe software can not be used, only pysmile package can be used. Before i usually learn the BBN structure (with background setting) to extract the relationships among variables year by year, then combine all of the...
by Yang Yajie
Sat Dec 18, 2021 11:33 am
Forum: GeNIe
Topic: when use 17 millions data to learn the structure and parameter of network, it shows: abnormal program termination
Replies: 3
Views: 1309

Re: when use 17 millions data to learn the structure and parameter of network, it shows: abnormal program termination

when I learn the structure, the HHPD and PERSID did not come into the structure learning procedure. It seems 32-bit GeNIE ACADEMIC has a memory problem. Do you mean I should use SMILE Academic 64-bit to learn the structure and make parameter learning? that also means I code the structure learning an...
by Yang Yajie
Wed Dec 15, 2021 8:32 am
Forum: GeNIe
Topic: when use 17 millions data to learn the structure and parameter of network, it shows: abnormal program termination
Replies: 3
Views: 1309

Re: when use 17 millions data to learn the structure and parameter of network, it shows: abnormal program termination

The size of your large file on disk suggests that 32-bit GeNIe Academic will not be able to handle it. SMILE Academic is available as both 32-bit and 64-bit, so there should be no problem with the memory size. When you run structure learning, make sure that your HHID and PERSID are not used - they i...
by Yang Yajie
Tue Dec 14, 2021 9:37 pm
Forum: GeNIe
Topic: when use 17 millions data to learn the structure and parameter of network, it shows: abnormal program termination
Replies: 3
Views: 1309

when use 17 millions data to learn the structure and parameter of network, it shows: abnormal program termination

hello, I have a question about big data used for BBN and DBN. when I use 17 million data to learn the BBN structure, even I only use 10 variables to learn the BBN structure, it shows me "abnormal program termination" as below figure. when I import external DBN data and use 17 million data ...
by Yang Yajie
Sun Mar 07, 2021 12:49 am
Forum: SMILE
Topic: ImportError: DLL load failed while importing pysmile: the specified module could not be found
Replies: 6
Views: 9498

ImportError: DLL load failed while importing pysmile: the specified module could not be found

Dear sir or madam, I tried to import pysmile in another computer with Windows system, I download the pysmile package on the website: https://download.bayesfusion.com/files.html?category=Academia, I download the pysmile-1.6.0-win-x64-python-3.7 academic.zip and uncompress this folder, then put the py...
by Yang Yajie
Mon Dec 14, 2020 11:50 am
Forum: SMILE
Topic: does PySMILE has the capability to use multiple CPU?
Replies: 3
Views: 3874

Re: does PySMILE has the capability to use multiple CPU?

thank you. but your answer is related to structure learning. I create the network by myself and I need to learn the parameter of this created network in HPC. Is it possible to use more than one CPU cores when making the parameter learning? And Is it possible to use multiple cores in the single CPU w...
by Yang Yajie
Thu Dec 10, 2020 9:27 pm
Forum: SMILE
Topic: EM.Learn Errno=-42 when i learn the parameter of DBN in python
Replies: 2
Views: 3313

Re: EM.Learn Errno=-42 when i learn the parameter of DBN in python

thank you very much. it is helpful to me.
by Yang Yajie
Wed Dec 09, 2020 3:26 pm
Forum: SMILE
Topic: EM.Learn Errno=-42 when i learn the parameter of DBN in python
Replies: 2
Views: 3313

EM.Learn Errno=-42 when i learn the parameter of DBN in python

Dear sir or madam, I create a DBN by smile, there maxium classification of each node is 5, the minimum number of parent nodes for nodes is 6, the number of parent nodes is around 9 to 11. In GeNIE, I can not create this network, this give me the error=-42. in Pysmile, I create this DBN network, and ...