Search found 41 matches

by jonnie
Thu Mar 08, 2012 5:16 pm
Forum: SMILE
Topic: Inference algorithms in SMILE
Replies: 2
Views: 5473

Re: Inference algorithms in SMILE

Thank you, that helps very much indeed!
by jonnie
Wed Mar 07, 2012 2:17 pm
Forum: SMILE
Topic: Converting CPT to NoisyMAX definitions
Replies: 3
Views: 4430

Converting CPT to NoisyMAX definitions

Hello, I'm wondering how to convert DSL_cpt to DSL_noisyMAX definitions. A simple way seems to be DSL_node::ChangeType, but the parents' outcomes are not all ordered by their influence strength on the noisy node. This shouldn't be necessary anyway since a parent might have several noisy children whi...
by jonnie
Wed Mar 07, 2012 1:20 pm
Forum: SMILE
Topic: node->Info().Screen().color returns wrong RGB String
Replies: 7
Views: 7541

Re: node->Info().Screen().color returns wrong RGB String

So what you mean is, they're swapped. Inverted would mean their single bits are all flipped. #cc would result in #33.
I guess that's simply the way Smile stores its color values into an integer variable. Simply write a function or class for conversion :)
by jonnie
Mon Mar 05, 2012 12:50 pm
Forum: SMILE
Topic: Quiet failures in setting evidence / updating beliefs
Replies: 6
Views: 7710

Quiet failures in setting evidence / updating beliefs

Hello, after spending a while scratching my head over strange crashes, I found out Smile inference sometimes fails without notifying the user. Here's what happened: - I used Lauritzen - Setting the evidences one after another, I always check the return code of SetEvidence; afterwards I check if the ...
by jonnie
Fri Feb 24, 2012 1:27 pm
Forum: SMILE
Topic: Inference algorithms in SMILE
Replies: 2
Views: 5473

Inference algorithms in SMILE

Hello, I want to ask some questions regarding the inference algorithms in Smile, since the documentation is a bit incomplete at times. Sources of information about the Smile inference algorithms are: Documentation: http://genie.sis.pitt.edu/wiki/Application_Programmers_Manual:_Performing_Inference_w...
by jonnie
Fri Feb 24, 2012 1:17 pm
Forum: SMILE
Topic: Finding the Algorithm Papers
Replies: 1
Views: 3161

Finding the Algorithm Papers

Hello, I'm new to Bayesian inference and the SMILE library and I had a look at the documentation: http://genie.sis.pitt.edu/wiki/Application_Programmers_Manual:_Performing_Inference_with_a_Network http://genie.sis.pitt.edu/wiki/Reference_Manual:_DSL_network (scroll down to SetDefaultBNAlgorithm) How...
by jonnie
Tue Feb 14, 2012 11:03 am
Forum: SMILE
Topic: Accessing Layout information from Smile
Replies: 1
Views: 2517

Re: Accessing Layout information from Smile

Okay nevermind, I found out a few things now: - The functions mentioned in that post are functions of the jSmile Java wrapper for Smile. (And they still exist of course.) - From within C++ directly, you can access the layout information through the node's screenInfo, for example: node->Info().Screen...
by jonnie
Tue Feb 14, 2012 9:50 am
Forum: SMILE
Topic: Smile DLL x64 for jSmile
Replies: 2
Views: 4032

Re: Smile DLL x64 for jSmile

Yes, everything is working now! Thank you very much! I did it with the VC++ Professional edition now. I'm student and so I have free access to this software through my university. - got VC++ prof - set the x64 architecture of the project - compiled the .dll - pointed the java project to that dll (di...
by jonnie
Mon Feb 13, 2012 1:07 pm
Forum: SMILE
Topic: Bug: Spaces in path when compiling jSmile
Replies: 1
Views: 2159

Bug: Spaces in path when compiling jSmile

When I tried to compile jSmile I ran into problems with spaces in my path. Here's how I fixed it: - in the buildj.bat, add first line: cd %~dp0 (It makes the rest of the script to be executed from the directory where the batch script is located in. I'm not sure if this was the measure that fixed the...
by jonnie
Mon Feb 13, 2012 10:38 am
Forum: SMILE
Topic: Accessing Layout information from Smile
Replies: 1
Views: 2517

Accessing Layout information from Smile

Hello, I have a question: How can I access layout information of nodes in Smile? What I'd like to see: node positions, sizes, colours of the nodes and their text. I've just started using Smile and I successfully iterated over the model, e.g. I found the nodes, their parents and children, different n...
by jonnie
Mon Feb 13, 2012 10:21 am
Forum: SMILE
Topic: Smile DLL x64 for jSmile
Replies: 2
Views: 4032

Smile DLL x64 for jSmile

I would like to second that post: http://genie.sis.pitt.edu/forum/viewtopic.php?f=2&t=626#p2541 I am using Win7 x64, so jSmile can't use the x32 DLL that is delivered with it. However, on the download page there's only x32 available. So my questions are: a) Can someone from the staff compile an ...