jsmile DBN learning

The engine.
Post Reply
kalia_or
Posts: 4
Joined: Sat Sep 07, 2013 7:19 am

jsmile DBN learning

Post by kalia_or »

Hi,

I saw the tutorials 6 & 7 on the wiki using SMILELearn in C++ to learn the parameters of DBN, is there any other library in java or I have to use SMILELearn in c++?
Furthermore, the textfile containing the DBN data should be in a specific format, like that: where A, B, C are the variable names that will be used in the network?

A A_0 A_1 B B_0 B_1 C C_0 C_1
t t t t t t t t t
t f f t f f t f f
f t f f t f f t f
f f f f f f f f f
t f t t f t t f t
t f f t f f t f f
f t f f t f f t f
f t t f t t f t t
t t t t t t t t t
t t t t t t t t t
t t t t t t t t t
t t f t t f t t f

Thanks in advance,

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

Re: jsmile DBN learning

Post by shooltz[BayesFusion] »

kalia_or wrote:I saw the tutorials 6 & 7 on the wiki using SMILELearn in C++ to learn the parameters of DBN, is there any other library in java or I have to use SMILELearn in c++?
You can use jSMILE for learning, including EM parameter learning.
Furthermore, the textfile containing the DBN data should be in a specific format, like that: where A, B, C are the variable names that will be used in the network?
You can use any variable names in the text file. However, if you want to match the DBN with the data automatically via DataSet.matchNetwork, then you need to follow the "A, A_1, ..., B, B_1" convention. Note that order of the variables in the text file is not significant (so A, B, ..., A_1, B_1, ... will work as well).
kalia_or
Posts: 4
Joined: Sat Sep 07, 2013 7:19 am

Re: jsmile DBN learning

Post by kalia_or »

Thank you for your help!
I have another question: What are the fixed nodes on EM - learning parameters of DBN?
Also, does EM work for Noisy-OR nodes as well?


Thanks,

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

Re: jsmile DBN learning

Post by shooltz[BayesFusion] »

I have another question: What are the fixed nodes on EM - learning parameters of DBN?
The parameters of the fixed nodes will not change during the EM learning.
Also, does EM work for Noisy-OR nodes as well?
EM will work with NoisyOR nodes, but not in DBNs.
kalia_or
Posts: 4
Joined: Sat Sep 07, 2013 7:19 am

Re: jsmile DBN learning

Post by kalia_or »

Thank you so much for your help shooltz,

Is there any other learning algorithm or other way to learn the parameters of noisy-OR nodes for DBN?
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: jsmile DBN learning

Post by shooltz[BayesFusion] »

kalia_or wrote:Is there any other learning algorithm or other way to learn the parameters of noisy-OR nodes for DBN?
No, at this point DBN parameter learning only works for general CPT nodes.
Post Reply