-
Notifications
You must be signed in to change notification settings - Fork 15
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
[ENH] Dodiscover wrapper to GIN algorithm in causal-learn #72
Conversation
I added a basic test and GIN wrapper function. @adam2392 can you take a look and let us know your thoughts? I think it is important that its using architecture to the constraint-based algorithms you've built so far. |
90a2794
to
f88b7ba
Compare
Adds a wrapper from GIN algorithm from causal-learn. Signed-off-by: Robert Ness robertness@gmail.com
f88b7ba
to
9e5fda6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Some API nitpicks
- try using the pywhy-graphs API for conversion between causal-learn and our graph objects
The reason being dodiscover should ideally not have any "graph-related" algorithms. It should solely focus on the discovery part.
Codecov Report
@@ Coverage Diff @@
## main #72 +/- ##
==========================================
+ Coverage 88.13% 88.24% +0.10%
==========================================
Files 25 26 +1
Lines 1635 1650 +15
Branches 266 267 +1
==========================================
+ Hits 1441 1456 +15
Misses 114 114
Partials 80 80
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
e3d6a28
to
986025a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some lint failures but otw LGTM
7c670c5
to
565a652
Compare
a18c940
to
2cee970
Compare
* Update README.md Signed-off-by: Robert Osazuwa Ness <robertness@gmail.com> Co-authored-by: Adam Li <adam2392@gmail.com>
* Adding integration test with causal learn for FCI and PC algorithm * Fix CI Signed-off-by: Adam Li <adam2392@gmail.com>
… to enable Psi-FCI algorithm (#81) * KCD test * Refactor utils to contain kernel utility functions Signed-off-by: Adam Li <adam2392@gmail.com>
* KCD test for testing conditional discrepancy * Add bregman cd test for testing conditional discrepancy Signed-off-by: Adam Li <adam2392@gmail.com>
* Adding cmi test with KNN * Fix unit test Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Robert Osazuwa Ness <robertness@gmail.com> Co-Authored-By: Adam Li <adam2392@gmail.com>
2cee970
to
b327864
Compare
Signed-off-by: Robert Osazuwa Ness <robertness@gmail.com>
I think this DCO sign off always messes up cuz it tries to rebase. Maybe it'll be easier to just start a new PR off main and copy over your few files. Not sure why it always messes up :( You can use poetry commands in the contributing doc to then check all the style stuff. |
Due to rebase error, created new PR. |
Closes #1
Changes proposed in this pull request:
Before submitting
section of the
CONTRIBUTING
docs.Writing docstrings section of the
CONTRIBUTING
docs.After submitting