jsmile EM

The engine.
Post Reply
snowave
Posts: 22
Joined: Mon Jan 25, 2016 1:27 pm

jsmile EM

Post by snowave »

Hi, I'm trying to use jsmile EM functionality. Is there an example/ tutorial for that?
I have problems to use the function learn(), which has a parameter DataMatch[] matching to pass in. How to set DataMatch [] matching?

Thanks

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

Re: jsmile EM

Post by shooltz[BayesFusion] »

I'm trying to use jsmile EM functionality. Is there an example/ tutorial for that?
We're still (slowly) rewritting the jSMILE docs; there's no tutorial for jSMILE's EM yet. However, you can download jSMILE sources from our website and look at the java/testApp.java file. The testApp.testEm method contains the example code which does the matching between the dataset and the network: it calls smile.learning.DataSet.matchNetwork method, which creates an array of DataMatch objects. matchNetworks works when the identifiers of the nodes and names of the data columns match; otherwise it's up to you to create an array and fill it with the proper matching information.
Post Reply