Search found 20 matches

by Yun
Sun Nov 05, 2017 7:27 pm
Forum: SMILE
Topic: Use jsmile in web application with Apache Tomcat 7 and Linux CentOS 7
Replies: 1
Views: 3244

Use jsmile in web application with Apache Tomcat 7 and Linux CentOS 7

Hi, SMILE creators, I have been trying to make jsmile work (libjsmile.so) in a web application with Apache Tomcat 7 on a Linux CentOS 7 server using all the methods I could find on the Internet, but I still haven't succeeded. I was able to use this wrapper (libjsmile.jnilib downloaded on Nov. 24, 20...
by Yun
Wed Jul 19, 2017 10:09 am
Forum: SMILE
Topic: libjsmile.jnilib "java.lang.UnsatisfiedLinkError"
Replies: 1
Views: 3686

libjsmile.jnilib "java.lang.UnsatisfiedLinkError"

Dear SMILE creators, Thank you so much for your time! I encountered a problem using jsmile's libjsmile.jnilib in an online Java service on the Apache Tomcat server. Could I ask for your help? It seems that the error happens because I have two online web applications that both load libjsmile.jnilib l...
by Yun
Thu Jan 12, 2017 9:38 pm
Forum: SMILE
Topic: Share/Tie parameters in jsmile EM parameter learning
Replies: 3
Views: 5154

Re: Share/Tie parameters in jsmile EM parameter learning

Dear SMILE creators, Sorry for asking this again. I am in need of using this functionality (sharing/tying parameters in EM). I found that BNT (Kevin Murphy) might be able to do so, but I haven't tried and am not sure (link: https://www.cs.utah.edu/~tch/notes/matlab/bnt/docs/usage.html#tying ). I won...
by Yun
Thu Jan 12, 2017 9:23 pm
Forum: SMILE
Topic: Setting Beta(Dirichlet) prior when using jsmile EM
Replies: 4
Views: 5197

Re: Setting Beta(Dirichlet) prior when using jsmile EM

Dear Marek and Mark, Thank you all so much for your quick reply! It is very helpful! -- Following your suggestions, I want to confirm when writing jsmile whether it is correct to do as follows: if I have strong belief that the probability of a random variable X=T is around 0.75 (which I call it prio...
by Yun
Thu Jan 12, 2017 2:53 am
Forum: SMILE
Topic: Share/Tie parameters in jsmile EM parameter learning
Replies: 3
Views: 5154

Re: Share/Tie parameters in jsmile EM parameter learning

Thank you for letting me know. Look forward to such an option in the future :)

Thanks,
Yun
by Yun
Thu Jan 12, 2017 2:52 am
Forum: SMILE
Topic: Data input for HMM(DBN) with different lengths across samples
Replies: 7
Views: 7007

Re: Data input for HMM(DBN) with different lengths across samples

Thank you soooo much! I really appreciate it!!!

Thanks,
Yun
by Yun
Wed Jan 11, 2017 3:50 pm
Forum: SMILE
Topic: Setting a maximum value (bound) for parameters in jsmile EM parameter learning
Replies: 1
Views: 3030

Setting a maximum value (bound) for parameters in jsmile EM parameter learning

Dear SMILE creators, Thank you so much for your time! Is there a way to set a maximum value (upper bound) for a parameter when using jsmile EM parameter learning? This actually will be like a constraint optimization. I am figuring out a way to incorporate expert knowledge of parameters, e.g. using a...
by Yun
Wed Jan 11, 2017 3:45 pm
Forum: SMILE
Topic: Fixing a specific parameter rather than a node in EM parameter learning process
Replies: 2
Views: 3617

Re: Fixing a specific parameter rather than a node in EM parameter learning process

Thank you very much for letting me know! It's really hard to find toolkits that have this option, so I understand this need might be too specific. Thank you all the same!
by Yun
Wed Jan 11, 2017 3:44 pm
Forum: SMILE
Topic: Share/Tie parameters in jsmile EM parameter learning
Replies: 3
Views: 5154

Share/Tie parameters in jsmile EM parameter learning

Dear SMILE creators, Thank you so much for your time! Could I ask whether there is a way to share/tie parameters across different nodes (i.e., reference/point to the same parameter, so that different nodes can have the same parameter value)? I would like to have this option for both static BN and a ...
by Yun
Wed Jan 11, 2017 6:06 am
Forum: SMILE
Topic: Fixing a specific parameter rather than a node in EM parameter learning process
Replies: 2
Views: 3617

Fixing a specific parameter rather than a node in EM parameter learning process

Dear SMILE creators, Could I ask whether there is a way to fix a specific parameter in a node's CPT/distribution, rather than fixing the entire node during the EM parameter learning process? Currently, I am using "em.learn(ds, net, matching, fixedNodes)", and I found that "fixedNodes&...
by Yun
Wed Jan 11, 2017 5:58 am
Forum: SMILE
Topic: Setting Beta(Dirichlet) prior when using jsmile EM
Replies: 4
Views: 5197

Setting Beta(Dirichlet) prior when using jsmile EM

Dear SMILE creators, Thank you so much for your time! Is there a way to specify Beta distribution prior by jsmile (when I am using EM to learn the parameters), and if there is, what is the right way to do that? -- Based on the previous post http://support.bayesfusion.com/forum/viewtopic.php?f=3&...
by Yun
Tue Jan 10, 2017 3:13 am
Forum: SMILE
Topic: Data input for HMM(DBN) with different lengths across samples
Replies: 7
Views: 7007

Re: Data input for HMM(DBN) with different lengths across samples

Dear Shooltz, Thank you so much for spending your time considering adding the option! I really appreciate it! I am using the MAC OS platform (64 bit, 10.10.2) and have been using jsmile in my Eclipse Java projects. Also, I have successfully deployed some BN (not DBN though) built based on jsmile on ...
by Yun
Mon Jan 09, 2017 3:09 pm
Forum: SMILE
Topic: Data input for HMM(DBN) with different lengths across samples
Replies: 7
Views: 7007

Re: Data input for HMM(DBN) with different lengths across samples

Dear Mark, Thank you for your help. Today I tried again putting the first row the sample with the longest sequence length hoping that it will automatically set the numSlices according to the first sample. However, it still generates the same parameters as before (which are significantly different fr...
by Yun
Sun Jan 08, 2017 12:04 am
Forum: SMILE
Topic: Data input for HMM(DBN) with different lengths across samples
Replies: 7
Views: 7007

Re: Data input for HMM(DBN) with different lengths across samples

Dear SMILE creators, I have been trying to figure out the answer to my previous post's question and still couldn't find a solution. I created different datasets and compare the learned parameters with BNT (Kevin Murphy's toolkit). Following are the two cases that my way of preparing data (mentioned ...
by Yun
Thu Jan 05, 2017 5:21 am
Forum: SMILE
Topic: Data input for HMM(DBN) with different lengths across samples
Replies: 7
Views: 7007

Data input for HMM(DBN) with different lengths across samples

Dear SMILE creators, Thank you for your time! I want to prepare the data input for training a Hidden Markov Model (a special type of DBN) using jsmile and have some questions which seem not to be answered by previous posts. My data consists of multiple samples. Each sample (corresponding to a studen...