Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why am I getting full graph as discovery result? #135

Open
kn0xit opened this issue May 11, 2022 · 1 comment
Open

Why am I getting full graph as discovery result? #135

kn0xit opened this issue May 11, 2022 · 1 comment

Comments

@kn0xit
Copy link

kn0xit commented May 11, 2022

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!

@diviyank
Copy link
Collaborator

diviyank commented May 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants