Search found 1474 matches

by shooltz[BayesFusion]
Fri Jul 18, 2008 9:48 am
Forum: SMILE
Topic: JSmile and Mac
Replies: 2
Views: 7007

Re: JSmile and Mac

ckerse wrote:Can I run jsmile on a mac? I've been a windows user and am having trouble porting the code to the mac.
Thanks!
We don't provide jSMILE binaries for OSX, but the source code is available. You just have to compile it.
by shooltz[BayesFusion]
Fri Jul 18, 2008 9:46 am
Forum: SMILE
Topic: Undefined reference problem when compiling smile
Replies: 5
Views: 12002

However I still get the same error. I also tried commenting out the "DSL_dataset ds;" after which the code then compiled correctly. I don't know if there was a form of instillation (./configure?) that I maybe missed.

There's no install/setup - unpacking the files is enough.

What happens if you ...
by shooltz[BayesFusion]
Thu Jul 17, 2008 6:24 pm
Forum: SMILE
Topic: Undefined reference problem when compiling smile
Replies: 5
Views: 12002

Re: Undefined reference problem when compiling smile

You have a space in $(SMILE) - it's between 'Smile\' and 'trial'.
by shooltz[BayesFusion]
Fri Jul 11, 2008 12:43 pm
Forum: SMILE
Topic: Smile linking with GCC windows
Replies: 4
Views: 10422

Re: Linux

Can you post your gcc command line here?
by shooltz[BayesFusion]
Thu Jul 03, 2008 4:31 pm
Forum: SMILE
Topic: Smile linking with GCC windows
Replies: 4
Views: 10422

Re: Smile linking with GCC windows

You'll need to tell the linker to use smile.lib (automatic linking is only supported in Visual C++). I've never used CodeBlocks, so I can't give you more assistance, other than pointing to section 1.11.8 in the CodeBlocks online documentation.
by shooltz[BayesFusion]
Thu Jul 03, 2008 4:26 pm
Forum: SMILE
Topic: UnsatisfiedLinkError running JSMILE tutorials
Replies: 3
Views: 9699

Re: UnsatisfiedLinkError running JSMILE tutorials

Are you sure that you have most recent jSMILE version? Currently, the Network class does not contain the 'newNetwork' method (which caused the UnsatisfiedLinkError exception to be thrown).
by shooltz[BayesFusion]
Wed Jul 02, 2008 12:54 pm
Forum: SMILE
Topic: JVM crash using jsmile
Replies: 7
Views: 18418

ystf wrote:The problem is that my program is kind of huge, with many modules and so on and also some private data...
In such case, try to reproduce the crash with smaller application.
by shooltz[BayesFusion]
Wed Jul 02, 2008 12:46 pm
Forum: SMILE
Topic: JVM crash using jsmile
Replies: 7
Views: 18418

Re: same JVM error

I won't be able to help without your Java source code.
by shooltz[BayesFusion]
Tue Jul 01, 2008 7:41 pm
Forum: SMILE
Topic: Using SMILE for Influence Diagrams
Replies: 6
Views: 14456

I read the post on the Indexing parents, but I fail to understand how it relates to my question. Indexing parents are parents , not the predecessors, so I don't see how to make the connection.

The indexing parents set may contain predecessors - check the definition. If you have GeNIe installed ...
by shooltz[BayesFusion]
Tue Jul 01, 2008 11:24 am
Forum: SMILE
Topic: Using SMILE for Influence Diagrams
Replies: 6
Views: 14456

nikkne wrote:Example iterates through the list of indexing parents, which is enough if the network/ID is of height 1. What to do when the network is much, much bigger (for example, there are 5 chance nodes between a decision and value node)?
Check my reply to your post about indexing parents.
by shooltz[BayesFusion]
Tue Jul 01, 2008 11:01 am
Forum: SMILE
Topic: GetIndexingParents
Replies: 1
Views: 5604

Re: GetIndexingParents

Here's the definition of 'indexing parents' taken from http://genie.sis.pitt.edu/wiki/Brief_Introduction_to_Some_Simple_Classes:_Solving_Influence_Diagrams:

Indexing Parents
The results for each node will be indexed by its indexing parents. These indexing parents are the decision nodes and ...
by shooltz[BayesFusion]
Mon Jun 30, 2008 5:01 pm
Forum: GeNIe
Topic: Monte-Carlo
Replies: 1
Views: 7102

Re: Monte-Carlo

Is it possible to introduce in the Genie sw this kind of Monte-Carlo simulation, obtaining a spreadsheet with the results of the different runs?

We don't plan to implement such feature at the moment. We usually encourage users to write some code using core SMILE or one of the wrappers to perform ...
by shooltz[BayesFusion]
Mon Jun 30, 2008 4:59 pm
Forum: SMILE
Topic: Using SMILE for Influence Diagrams
Replies: 6
Views: 14456

Re: Using SMILE for Influence Diagrams

Am I missing something?

You can use DSL_ALG_ID_SHACHTER algorithm - it'll find the best policy at SMILE level. It's the equivalent of 'Find best policy' selection from the Network|Algorithm in GeNIe. The code in the tutorial invokes the default influence diagram algorithm DSL_ALG_ID_COOPERSOLVING ...
by shooltz[BayesFusion]
Mon Jun 30, 2008 11:51 am
Forum: GeNIe
Topic: Import a test set
Replies: 2
Views: 7689

Re: Import a test set

I've trained my network with a trainings set.
Now I want to test it with the test set.
Is there a possibility to import the complete test set and compute it or have I to choose the evidence for each node by hand?

The closest thing would be using Data|Copy Cases command, which would create the ...
by shooltz[BayesFusion]
Thu Jun 26, 2008 4:02 pm
Forum: SMILE
Topic: Outcomes
Replies: 1
Views: 5812

Re: Outcomes

RemoveOutcome will fail if you have just two states/choices - SMILE always keeps the network in consistent state, and discrete node with just one outcome certainly breaks the consistency.

SetNumberOfOutcomes will fail if node has children. This is rather obscure method, mainly used by file I/O ...