Search found 41 matches

by jonnie
Tue Apr 24, 2012 4:14 pm
Forum: SMILE
Topic: Marginalize node: GeNIe vs. Smile
Replies: 5
Views: 5822

Marginalize node: GeNIe vs. Smile

There's a new feature in GeNIe that lets you marginalize a node into its child. It removes the node and instead adds the node's parents to the child's parents. Also, Smile has a method int DSL_network::MarginalizeNode(int theParent, int theChild) that lets you marginalize a node into its child. Howe...
by jonnie
Tue Apr 24, 2012 4:09 pm
Forum: GeNIe
Topic: New feature feedback: Marginalize Node
Replies: 1
Views: 2549

New feature feedback: Marginalize Node

There's a new feature in GeNIe that lets you marginalize a node into its child. First I want to say that's a great new feature! :D Right-click on a node and select Marginalize. The node gets removed. Its CPD gets merged into the CPD of its child, and the node's parents become parents of the child. I...
by jonnie
Tue Apr 24, 2012 10:13 am
Forum: SMILE
Topic: Partial noisy divorcing of nested boolean formulas
Replies: 1
Views: 2236

Partial noisy divorcing of nested boolean formulas

Hello everyone, this is a theory question about finding noisy influences and automatically divorcing parents, and how to do this in Smile. Nodes can be automatically divorced if they have a noisy definition: build a binary tree from the parents to the child, put the noisy influences into the nodes n...
by jonnie
Sun Apr 22, 2012 11:55 am
Forum: SMILE
Topic: Bug? Backsampling with Noisy Relevance crashing
Replies: 7
Views: 5865

Re: Bug? Backsampling with Noisy Relevance crashing

Oh, you're correct. I tested with a slightly different model; I'll PM that to you.
by jonnie
Fri Apr 20, 2012 9:37 pm
Forum: SMILE
Topic: Bug? Assertion fails when relevance reasoning disabled
Replies: 11
Views: 9720

Too much honor! I can't wait to see it :D
by jonnie
Thu Apr 19, 2012 11:09 am
Forum: SMILE
Topic: Bug? Assertion fails when relevance reasoning disabled
Replies: 11
Views: 9720

Re: Bug? Assertion fails when relevance reasoning disabled

I'm using C++ directly, and I've seen in the task manager that the program does use the whole ram when I'm just generating enough test cases... so it's definitely not an out-of-memory issue. Btw I noticed that the assertion also fails when my relevance flags are set like this: SetRelevanceLevelFlags...
by jonnie
Thu Apr 19, 2012 7:58 am
Forum: SMILE
Topic: Bug? Assertion fails when relevance reasoning disabled
Replies: 11
Views: 9720

Re: Bug? Assertion fails when relevance reasoning disabled

Hi orzech,
I've isolated the failing case and wrote a function that does nothing else than applying the case and crash. Plus, I'm sitting on 8GB ram here ;)
by jonnie
Thu Apr 19, 2012 6:50 am
Forum: SMILE
Topic: Bug? Backsampling with Noisy Relevance crashing
Replies: 7
Views: 5865

Re: Bug? Backsampling with Noisy Relevance crashing

Update: after conducting experiments, I found that the bug occurs:
  • in ALL approximate algorithms, plus in LauritzenOld,
  • when noisy relevance is enabled, and the model contains noisy nodes,
  • only when evidence is set.
(Though I don't know if the latter is valid in general or only in my cases.)
by jonnie
Tue Apr 17, 2012 4:19 pm
Forum: SMILE
Topic: Bug? Backsampling with Noisy Relevance crashing
Replies: 7
Views: 5865

Re: Bug? Backsampling with Noisy Relevance crashing

Update: The crash is a segfault because of a NULL pointer dereference. The bug lies in 15yo legacy code and is therefore not probable to be fixed soon.
Workaround: don't use this combination :)
by jonnie
Tue Apr 17, 2012 4:15 pm
Forum: SMILE
Topic: Quiet failures in setting evidence / updating beliefs
Replies: 6
Views: 7710

Re: Quiet failures in setting evidence / updating beliefs

Update: My evidence WAS conflicting. The conflict check at SetEvidence time is not almighty, and if you really need to verify beyond any doubt that a certain set of evidence is non-conflicting, you have to perform a full inference without targets and then look if all values are set valid. The newest...
by jonnie
Tue Apr 17, 2012 1:43 pm
Forum: SMILE
Topic: Bug? Assertion fails when relevance reasoning disabled
Replies: 11
Views: 9720

Bug? Assertion fails when relevance reasoning disabled

Hello, I stumbled upon my next crash :) I hope it's not a bug again since I haven't seen any fixes for the previous two I submitted :oops: So I used plain Lauritzen and I have some evidences and targets set. I disable relevance reasoning with DSL_network::DeactivateRelevance() and then call UpdateBe...
by jonnie
Fri Apr 13, 2012 5:36 pm
Forum: SMILE
Topic: Bug? Backsampling with Noisy Relevance crashing
Replies: 7
Views: 5865

Re: Bug? Backsampling with Noisy Relevance crashing

I'll see if the error occurs on an obfuscated model as well, and PM you about it.
Thanks for taking care of this :)
by jonnie
Thu Apr 12, 2012 2:15 pm
Forum: SMILE
Topic: Bug? Backsampling with Noisy Relevance crashing
Replies: 7
Views: 5865

Bug? Backsampling with Noisy Relevance crashing

Hello, I recently discovered the possibility to activate/deactivate relevance reasoning in SMILE and promptly stumbled over some crashes. It happened with other algorithms as well (eg EpisSampling) but one case that I have isolated is using Backsampling with noisy relevance reasoning enabled (Enable...
by jonnie
Tue Mar 13, 2012 10:50 am
Forum: SMILE
Topic: Converting CPT to NoisyMAX definitions
Replies: 3
Views: 4429

Re: Converting CPT to NoisyMAX definitions

Hello Adam, Yes I understand the concept of ordering the strengthes of parents' states in the noisyMAX definition. I implemented a simple heuristic (in fact, in my network it's always the first state which is the leak state) but I don't know how to use it: If I create the noisyMAX from the CPT first...
by jonnie
Tue Mar 13, 2012 9:45 am
Forum: SMILE
Topic: Quiet failures in setting evidence / updating beliefs
Replies: 6
Views: 7710

Re: Quiet failures in setting evidence / updating beliefs

It happens regularly while generating random evidence in the network. I can extract one of the situations as a "Case" and store it in a new .xdsl file; I open it in GeNIe, use the Case, and perform inference. Same result: some nodes don't get valid values and the little question mark at bo...