Search found 51 matches

by orzech
Sat Dec 17, 2011 4:24 pm
Forum: SMILE
Topic: Compiler errors!!!
Replies: 2
Views: 1767

Compiler errors!!!

Hi, I've downloaded Linux x86 binaries (5th december 2011) and here's what I am getting when compiling the with JSmile: ../smile_learning_GreedyThickThinning.cpp: In function '_jobject* Java_smile_learning_GreedyThickThinning_getBkKnowledge(JNIEnv*, _jobject*)': ../smile_learning_GreedyThickThinning...
by orzech
Mon Dec 12, 2011 7:12 pm
Forum: SMILE
Topic: C++ vs GeNIe performance
Replies: 7
Views: 4443

Re: C++ vs GeNIe performance

So relevance itself is always on in GeNIe?

Dziekuje i pozdrawiam :)
by orzech
Fri Dec 09, 2011 6:35 pm
Forum: SMILE
Topic: C++ vs GeNIe performance
Replies: 7
Views: 4443

Re: C++ vs GeNIe performance

Thank you very much - your answer means a lot to me :) So one more question if you don't mind to have a complete point of view - relevance is on by default in GeNIe and you cannot turn it off? (Side question - what does 'Enable relevance' option does exactly? It turns on DSep and ... perhaps relevan...
by orzech
Tue Dec 06, 2011 5:32 pm
Forum: SMILE
Topic: C++ vs GeNIe performance
Replies: 7
Views: 4443

Re: C++ vs GeNIe performance

OK I have to admit that there was a bug in my code and results in GeNIe and C++ ARE pretty comparable. Sorry for bothering this was obviously my fault. :( Nonetheless, I'd be thankful if you could provide me answers for few questions: 1. Is DSeparation enabled by default in GeNIe and there is no mea...
by orzech
Sat Dec 03, 2011 2:52 pm
Forum: SMILE
Topic: C++ vs GeNIe performance
Replies: 7
Views: 4443

C++ vs GeNIe performance

Hello, I've got a pretty big network which is being used in GeNIe and C++ code. The problem concerns computing test strengths in some certain cases of observations. When I use Diagnostic View in GeNIe the problematic case gets solved in miliseconds with no remarkable memory consumption (relevance en...
by orzech
Thu Dec 01, 2011 7:14 pm
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 3383

Re: Using Smile.dll on webpage

As far as I know Network.ReadFile() returns a boolean which indicates if the network was loaded correctly or not. Thus, your initial code should look like:

Code: Select all

Network Mnet = new Network();
if (Mnet.ReadFile("CMBnetSix.xdsl"))
{
        Mnet.UpdateBeliefs();
}
else
{
    // UPS! File not loaded!
}
by orzech
Mon Nov 28, 2011 5:42 pm
Forum: SMILE
Topic: Using Smile.dll on webpage
Replies: 6
Views: 3383

Re: Using Smile.dll on webpage

First of all make sure that your application works in a desktop enviroment (that is in a form of Desktop/Console .NET application). If that works fine, then try making a web-application. Did you check if your model loads correctly? Are you sure that you've configured IIS properly (i.e. the service h...
by orzech
Thu Jan 20, 2011 11:57 am
Forum: SMILE
Topic: execute Diagnosis tool by Jsmile
Replies: 6
Views: 2798

Re: execute Diagnosis tool by Jsmile

But the class ObservationInfo show me in Eclipse only the public fields for cost,, entropy and infoGain but NO getEntropy() Method and so on. These are really Java basics. Just use observationInfo.infoGain to access individual fields. And how can I access ObservationInfo from my DiagNetwork anyway?...
by orzech
Wed Jan 12, 2011 10:31 am
Forum: SMILE
Topic: execute Diagnosis tool by Jsmile
Replies: 6
Views: 2798

Re: execute Diagnosis tool by Jsmile

Yes, just use DiagNetwork class.
by orzech
Sun Jan 09, 2011 9:48 pm
Forum: SMILE
Topic: jSmile and updating network
Replies: 4
Views: 2167

Re: jSmile and updating network

Thanks for your help. Well I just wanted to point out some possible improvements in case of preparing new releases of jSmile, SMILE.NET. Like I said I've solved my problems by modifying the wrappers so maybe I can voluntarily help you a bit in the future. :)

Cheers
by orzech
Wed Jan 05, 2011 5:33 pm
Forum: SMILE
Topic: jSmile and updating network
Replies: 4
Views: 2167

Re: jSmile and updating network

Thank you for your response. I was curious how things work in jSmile so I took some time to play around with SMILE using C++ and Java. As a result I've got an important question to ask - don't you think there should be independent methods UpdateFaultBeliefs and ComputeTestStrengths in DiagNetwork? N...
by orzech
Mon Dec 27, 2010 3:43 pm
Forum: SMILE
Topic: jSmile and updating network
Replies: 4
Views: 2167

jSmile and updating network

Hello, Lately I've been investigation SMILE quite thoroughly and I'd be thankful if you could help me with this one. Please take a look at the code below: (...) set evidence net.updateBeliefs(); int faultIndex = diagNet.findMostLikelyFault(); diagNet.setPursuedFault(faultIndex); DiagResults diagResu...
by orzech
Tue Nov 16, 2010 10:24 pm
Forum: SMILE
Topic: noisy max node in jSMILE
Replies: 2
Views: 1749

Re: noisy max node in jSMILE

I see that this issue comes out quite often. Expanding noisy weights into full CPT when calling setNodeDefinition() is a bug in the jSMILE and Smile.NET wrappers. Why should weights be expanded when setting definition? What if someone wants to simply create and save an untrackable network and then p...
by orzech
Mon Oct 11, 2010 7:56 pm
Forum: SMILE
Topic: SetEvidence vs InstantiateObservation
Replies: 2
Views: 1446

Re: SetEvidence vs InstantiateObservation

Ok that's what I've suspected :) Thanks a lot!
by orzech
Mon Oct 11, 2010 5:40 pm
Forum: SMILE
Topic: SetEvidence vs InstantiateObservation
Replies: 2
Views: 1446

SetEvidence vs InstantiateObservation

Hello,
I've got a little question - is there any difference beetwen calling Network::SetEvidence() and DiagNetwork::InstantiateObservation()?

Thanks in advance