Search found 26 matches

by sverrevr
Tue Nov 01, 2022 8:46 am
Forum: SMILE
Topic: Memmory related failures in smile engine
Replies: 6
Views: 10634

Re: Memmory related failures in smile engine

The patched version solved the problem in the minimal example above, but it still causes a "segmentation fault" on my main project when calling UpdateBeliefs(). With the older version, it still works on my main project. I'm sorry that I don't have time to make a new minimal example in the ...
by sverrevr
Fri Oct 28, 2022 12:29 pm
Forum: SMILE
Topic: Memmory related failures in smile engine
Replies: 6
Views: 10634

Re: Memmory related failures in smile engine

Thank you :)
by sverrevr
Tue Oct 25, 2022 11:49 am
Forum: SMILE
Topic: Memmory related failures in smile engine
Replies: 6
Views: 10634

Re: Memmory related failures in smile engine

I found an older version of the library in an older project I had.
With this version, it worked without any errors.

Version:
SMILE ACADEMIC version 1.6.0 / 2020-09-28
The rest is identical as in the original post
by sverrevr
Tue Oct 25, 2022 11:40 am
Forum: SMILE
Topic: Memmory related failures in smile engine
Replies: 6
Views: 10634

Memmory related failures in smile engine

Hi, I'm experiencing a weird bug in the smile library for c++ in the following case: I have a network consisting of at least one temporal node "simple.xdsl" <?xml version="1.0" encoding="UTF-8"?> <!-- This network was created in GeNIe Academic, which can be used for aca...
by sverrevr
Wed Aug 10, 2022 8:31 am
Forum: GeNIe
Topic: File corrupted when trying to copy and paste an equation node into a new file
Replies: 3
Views: 7370

File corrupted when trying to copy and paste an equation node into a new file

When trying to copy an equation node from one file to another, I get the following error: paste_error.png When I then save the file, and try to re-open it the file is corrupted: corrupted_file.png The error is related to this new entry in the file: code_error.png There is no entry for the node under...
by sverrevr
Wed Aug 10, 2022 8:14 am
Forum: GeNIe
Topic: Different state numbering for chance and equation nodes
Replies: 4
Views: 8348

Different state numbering for chance and equation nodes

Chance node are 0-indexed: chance_node_states.png While equation nodes are 1-indexed: equation_node_states.png So if you make a chance node and then turn it into an equation node you get this weird numbering (note that State1 is followed by State3): chance_into_equation.png Would be nice if the same...
by sverrevr
Wed Aug 10, 2022 7:42 am
Forum: GeNIe
Topic: Discretize network in Genie 4.0
Replies: 3
Views: 7147

Re: Discretize network in Genie 4.0

The feature I was looking for was to discretize the network once, and then use the discretized network in an online application interfacing the SMILE library. But it worked to simply change all nodes to chance nodes :)
by sverrevr
Tue Aug 09, 2022 10:59 am
Forum: GeNIe
Topic: Discretize network in Genie 4.0
Replies: 3
Views: 7147

Re: Discretize network in Genie 4.0

Aha! Is it correct that in the new version you can simply change nodes from equation to chance and it will be correctly discretized?
by sverrevr
Tue Aug 09, 2022 9:52 am
Forum: GeNIe
Topic: Discretize network in Genie 4.0
Replies: 3
Views: 7147

Discretize network in Genie 4.0

Hi, I can't seem to find the button for making a discretized version of the equation based/hybrid model in Genie 4.0?
I'm thinking about the button that opens a new file where all nodes are discretized.

Best regards
Sverre
by sverrevr
Tue Dec 21, 2021 2:06 pm
Forum: SMILE
Topic: Complexity of large nodes vs many nodes
Replies: 3
Views: 6978

Re: Complexity of large nodes vs many nodes

Hi Marek, thanks for the reply, Regarding the 0/1 probabilities, they have worked well for me. The network evaluation will fail if it is impossible to explain the observed evidence, but this is as expected. I see the danger with divisions by 0, but have not experienced any problems yet. Anything i s...
by sverrevr
Tue Dec 14, 2021 8:53 am
Forum: SMILE
Topic: Complexity of large nodes vs many nodes
Replies: 3
Views: 6978

Complexity of large nodes vs many nodes

Hi! How is the computational complexity of having multiple nodes with small CPTs and target set on only the top node vs one single node with a large CPT? I often stand between making a single node with few inputs, or merging them together to one node with many inputs. The first option is easier to q...
by sverrevr
Fri Sep 10, 2021 12:03 pm
Forum: GeNIe
Topic: Why should virtual evidence sum to 1?
Replies: 2
Views: 3297

Re: Why should virtual evidence sum to 1?

Thanks for the reply Marek :) The first article you referred to was actually the one I read to understand virtual evidence, its quite good som maybe it could be linked to in the wiki? :) I understand that it is a hazel to allow unnormalized virtual evidence and that this is not a priority. But, at l...