Search found 1417 matches

by shooltz[BayesFusion]
Tue May 05, 2009 12:06 pm
Forum: SMILE
Topic: API Documentation for Dynamic BNs
Replies: 4
Views: 8675

Re: API Documentation for Dynamic BNs

adam wrote:Where can I find SMILE API docs related to dynamic networks?
The only thing we have is the rough draft, which I'm going to paste below.
by shooltz[BayesFusion]
Tue May 05, 2009 11:49 am
Forum: GeNIe
Topic: Influence Diagrams in dynamic networks?
Replies: 2
Views: 4162

Re: Influence Diagrams in dynamic networks?

adam wrote:Is it a bug, or GeNIe does not support the influence diagrams in the temporal plate?
Dynamic IDs are not supported at this point. GeNIe shouldn't allow the creation of utility nodes in temporal plate, so in fact you've found the bug :)
by shooltz[BayesFusion]
Thu Apr 30, 2009 11:17 am
Forum: SMILE
Topic: K-Fold Crossvalidation
Replies: 2
Views: 3749

Re: K-Fold Crossvalidation

But first of all, I was thinking it has overloaded the = operator so it will not be a pointer to the same data, but it's not so after deleting from each dataset it's deleting from the others :( Thanks for reporting that issue. Technically what's missing is the copy constructor; the default one usin...
by shooltz[BayesFusion]
Thu Apr 30, 2009 9:05 am
Forum: SMILE
Topic: string creation and output
Replies: 1
Views: 2966

compiler/OS version?
by shooltz[BayesFusion]
Tue Apr 28, 2009 9:13 am
Forum: SMILE
Topic: How do I access the values of the prior distribution?
Replies: 8
Views: 7409

By the way, if I use DSL_Dmatrix* probmatrix = theNet.GetNode(gaithandle)-> Value ()->GetMatrix(); instead of "Definition", then I get the posterior distribution, right? Yes. The numbers in this matrix will be only if you call DSL_network::UpdateBeliefs first, and inference will succeed. ...
by shooltz[BayesFusion]
Mon Apr 27, 2009 7:20 pm
Forum: SMILE
Topic: How do I access the values of the prior distribution?
Replies: 8
Views: 7409

Re: How do I access the values of the prior distribution?

Also, what is the difference between the checked and unchecked value? Which should I use? Probably neither :) It's quite old option, but still survives in the docs. You can simply iterate over any DSL_Dmatrix with zero-based index. If you need to use multi-dimensional coords, specify them with DSL_...
by shooltz[BayesFusion]
Mon Apr 27, 2009 7:13 pm
Forum: SMILE
Topic: More questions about DSL_dataset's ReadFile
Replies: 7
Views: 7097

Re: More questions about DSL_dataset's ReadFile

Then, I've seen in the XML file that it stores the states as "State_1", "State_2" and "State_3". But does it name then in the same order it reads them so State_1 would be equal to 3, State_2 equal to 2 and State_3 equal to 1?? Or that is sort them and State_1 actually ...
by shooltz[BayesFusion]
Mon Apr 27, 2009 6:25 pm
Forum: SMILE
Topic: Learning K2 and metaheuristics
Replies: 2
Views: 3418

Re: Learning K2 and metaheuristics

My problem is that I would like to create a ordering of the initial graph using metaheuristics, and after I would like to give this ordering with the dataset to one functions to learn the structure from that. So I could go testing how good is the graph and changing the metaheuristic fitness functio...
by shooltz[BayesFusion]
Mon Apr 27, 2009 11:14 am
Forum: SMILE
Topic: Questions about DSL_dataset's ReadFile method
Replies: 6
Views: 8482

ermutarra wrote:Therefore, my conclusion is that in the new API false means no errors.
That's correct. DSL_dataset::ReadFile returns int. If data was loaded the returned value is DSL_OKAY, which is #defined to be zero.
by shooltz[BayesFusion]
Fri Apr 24, 2009 5:27 pm
Forum: SMILE
Topic: Questions about DSL_dataset's ReadFile method
Replies: 6
Views: 8482

Re: Questions about DSL_dataset's ReadFile method

1. Do the variable names have to be in the first row? Can it not load a data file that does not have the variable names in the first row? Such data can be loaded, you just need to override the default parse parameters passed to DSL_dataset::ReadFile. DSL_datasetParseParams params; params.columnIdsP...
by shooltz[BayesFusion]
Fri Apr 24, 2009 4:42 pm
Forum: SMILE
Topic: More Smilearn tutorial compilation problems
Replies: 2
Views: 3748

Re: More Smilearn tutorial compilation problems

The problem is most likely related to the order of the libraries in gcc's command line. Try this:

Code: Select all

g++ tutorial1.cpp -O3 -DNDEBUG -I/home/nnn/SMILE/lib -L/home/nnn/SMILE/lib -lsmilearn -lsmile -o tutorial1 
by shooltz[BayesFusion]
Fri Apr 24, 2009 4:39 pm
Forum: SMILE
Topic: Problem compiling code from Smilearn tutorial
Replies: 9
Views: 9954

Re: Problems compiling Smilearn tutorial

ermutarra wrote:In the meantime... how can I fix ‘struct DSL_datasetVarInfo’ has no member named ‘missingValue’?
DSL_datasetVarInfo::missingValue was replaced by missingInt and missingFloat.
by shooltz[BayesFusion]
Fri Apr 17, 2009 5:22 pm
Forum: GeNIe
Topic: Equation Node Documentation?
Replies: 14
Views: 19050

2) I am looking for a way to use MIN and MAX functions in for continuous variables.
BTW, you can also use the 'Trim' function if you want to limit the value of expression to specified range.
by shooltz[BayesFusion]
Fri Apr 17, 2009 5:19 pm
Forum: GeNIe
Topic: Equation Node Documentation?
Replies: 14
Views: 19050

I'm forwarding question 1 to other members of the team. 2) I am looking for a way to use MIN and MAX functions in for continuous variables. Do you think it is possible to specify those functions using the "Conditional Functions"? And if so, is there an example of the syntax for writing the...
by shooltz[BayesFusion]
Thu Apr 09, 2009 11:39 am
Forum: GeNIe
Topic: Equation Node Documentation?
Replies: 14
Views: 19050

Re: Mathematics behind the equation nodes?

If the model is fully deterministic we're using algebra. There's lot of work ahead here - we're not even close to other packages when it comes to symbolically solving the equations. When some of the equations contain probability distributions, we're switching to stochastic algorithm. Without evidenc...