CausalDiscoveryToolbox icon indicating copy to clipboard operation
CausalDiscoveryToolbox copied to clipboard

Why am I getting full graph as discovery result?

Open kn0xit opened this issue 3 years ago • 1 comments

Hello!

I am exploring your Causal Discovery Toolbox, and I am having some issues at the very start.

I.e., when I run the SAM example code outlined in the documentation, I receive a full undirected graph (all nodes connected to every other node) as a result. This seems odd, of course, as it is equivalent to the input. I adopted the example without any changes.

SAM example here: https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/causality.html#sam

Am I approaching this the wrong way?

Thanks for your help!

kn0xit avatar May 11 '22 13:05 kn0xit

Hello,

Linked to #116 and others

Long story short : SAM actually provides a graph with a confidence score for each edge ; so you need to filter out the low weight value edges to have a reasonable solution. Maybe a should add a threshold parameter...

Hope this helps, Diviyan

diviyank avatar May 19 '22 15:05 diviyank