Soft-Evidence

66 views
Skip to first unread message

7jc...@gmail.com

unread,
Feb 9, 2015, 1:29:36 PM2/9/15
to lib...@googlegroups.com
Hi there,

I am wondering, if setting soft-evidence is possible with libDAI. I want to set a fixed evidence of uncertainty (e.g. P(A=0)=0.2, P(A=1)=0.8)). Up to now, I only found the clamp() method, which can set hard-evidence.
I've also read about the possibility of adding an auxiliary child-knot, which can be set with a hard-evidence and thus sets the desired soft-evidence to the parent-knot (by first calculating the needed CPT of the child).

What do you think is the best way of achieving this? Is there anything implemented already?

Thanks!

danielk...@googlemail.com

unread,
Apr 15, 2016, 4:20:22 AM4/15/16
to libDAI, 7jc...@gmail.com
Any answer on this question? Is it possible to set soft or virtual evidence in libDAI and use the inference algorithms on these?

Thanks,
Daniel

Joris Mooij

unread,
Apr 15, 2016, 4:55:13 AM4/15/16
to danielk...@googlemail.com, libDAI, 7jc...@gmail.com
Hi Daniel,

there's no built-in support for that, but you can always introduce an auxiliary
factor into the factor graph that allows the soft-evidence to be specified.

Best, Joris
> --
> You received this message because you are subscribed to the Google Groups
> "libDAI" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to libdai+un...@googlegroups.com.
> To post to this group, send email to lib...@googlegroups.com.
> Visit this group at https://groups.google.com/group/libdai.
> For more options, visit https://groups.google.com/d/optout.

danielk...@googlemail.com

unread,
Apr 15, 2016, 5:04:18 AM4/15/16
to libDAI, danielk...@googlemail.com, 7jc...@gmail.com, joris...@libdai.org
Hello Joris,
thanks for your fast response and the clarification.

Cheers,
Daniel
Reply all
Reply to author
Forward
0 new messages