Search found 10 matches

by xavier7179
Thu Jun 07, 2018 4:18 pm
Forum: SMILE
Topic: Em Learning Error
Replies: 1
Views: 2063

Em Learning Error

Hello, I'm tried to better handle your learning classes, so I wrote a program which can be basically summarized as: open a network generate a Dataset from the network copy the original network in new one, also perturbing the CPT run the EM algorithm on the copied/perturbed net. I got the following m...
by xavier7179
Wed May 23, 2018 7:53 am
Forum: SMILE
Topic: DSL_arc
Replies: 1
Views: 1913

DSL_arc

Hello, I read the Master Thesis "Visualizing Inference in Bayesian Networks" by J.R. Koiter. It claims that a DSL_arcs class (and its DSL_arc within) carries some very useful information (pag. 78), such as Influence direction, etc. I cannot found any methods or classes in the actual version of SMILE...
by xavier7179
Wed May 23, 2018 7:49 am
Forum: SMILE
Topic: DSL_sensitivity usage
Replies: 0
Views: 7045

DSL_sensitivity usage

Hello, I'm exploring the ability of DSL_sensitivity class to perform the sensitivity analysis on a BN but I'm having few issues getting the results properly. Since there is not documentation about that, I try to lay down few questions: 1. Is it correct, once set the targets for the analysis and Calc...
by xavier7179
Wed Jan 13, 2016 11:19 am
Forum: SMILE
Topic: How to know CPT's parent order (and then modify it)
Replies: 5
Views: 5972

Re: How to know CPT's parent order (and then modify it)

Actually, I solved my problem... but there are several "issues" in the library (and documentation), from my perspective at least: 1. DSL_intArray::GetSize() is not useful at all: it does not return the number of elements, where DSL_intArray::NumItems() does that. 2. DSL_intArray::SetSize() does not ...
by xavier7179
Mon Jan 11, 2016 12:56 pm
Forum: SMILE
Topic: How to know CPT's parent order (and then modify it)
Replies: 5
Views: 5972

Re: How to know CPT's parent order (and then modify it)

I did use a code like the following one (resorting to SetSize() actually) because the way I need to re-order the elements requires to access indexes in a "random" way... .... DSL_intArray actual_order(m_theNet->GetParents(m_id)); DSL_intArray final_order; ... final_order.SetSize(actual_order.GetSize...
by xavier7179
Tue Dec 29, 2015 8:42 pm
Forum: SMILE
Topic: How to know CPT's parent order (and then modify it)
Replies: 5
Views: 5972

Re: How to know CPT's parent order (and then modify it)

I tried it out but I still get a -2 error code (and no error in the ErrorHandler().GetLastErrorMessage()). I checked the array I'm passing by and it is something like: 1 0 2 3 4 5 6 7, so they are correct indexes w.r.t. a vector of 8 elements.
by xavier7179
Wed Dec 23, 2015 7:58 am
Forum: SMILE
Topic: How to know CPT's parent order (and then modify it)
Replies: 5
Views: 5972

How to know CPT's parent order (and then modify it)

Hello, I'm wondering if there is a way to know the exact order of the parents with respect to the CPT values. If so, is there also a way to change it? I got the impression that you may change the order of parents but since it refers to ALL parents (not only direct one, with repetitions and so on), i...
by xavier7179
Thu Jun 18, 2015 9:05 am
Forum: SMILE
Topic: CMake Support
Replies: 1
Views: 5227

CMake Support

Hello,

I was wondering if you plan some CMake support (FindPACKAGE, etc.) and some more general installation / distro packaging (linux apt-get, osx homebrew, etc.) support.

Thanks.
Alessandro
by xavier7179
Thu Feb 26, 2015 9:01 am
Forum: SMILE
Topic: File Open Error on Probablities Format
Replies: 2
Views: 4406

Re: File Open Error on Probablities Format

Yes, it works just fine!

Thanks for solving my issue.
by xavier7179
Wed Feb 25, 2015 8:57 am
Forum: SMILE
Topic: File Open Error on Probablities Format
Replies: 2
Views: 4406

File Open Error on Probablities Format

Hello, I'm working with SMILE libraries (on OSX 10.10) trying to open a .xdsl model file created using GENIE on a Windows VM. I got stuck with an error in the probability format since GENIE exports probabilities with the '.' and the library function seems to expected them with the ',' character. Is ...