Hi,
I found that if I repeated to run my code, an error occurred randomly as follow:
smile.SMILEException: SMILE error -1 in function Learn. Logged information: em: please run with relevance enabled
My code is based on java, and it is a smile main(), each time, the programe automatically close after the calculation.
Thank you!
Best wishes,
Yang
Consumed problem about EM learning
Re: Consumed problem about EM learning
I tried to run the code 5 times, 1st, 2nd, 4 and 5 works. The 3rd one reported such an error.
I tried again, the error occurred randomly.
I tried again, the error occurred randomly.
-
- Site Admin
- Posts: 1419
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Consumed problem about EM learning
Follow the advice from the exception message and call EM.setRelevance(true)
Re: Consumed problem about EM learning
Thank you! But what is EM.setRelevance(true) means?
Best wishes,
Yang
Best wishes,
Yang
-
- Site Admin
- Posts: 431
- Joined: Tue Dec 11, 2007 4:24 pm
Re: Consumed problem about EM learning
It allows the program to use relevance reasoning, which makes calculations more efficient. The answer to your question is in GeNIe help file (the section describing parameter learning and the EM algorithm).
I hope this helps,
Marek
I hope this helps,
Marek