adam2392 / causal-networkx

A lightweight graph class library relevant for causal inference.
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

[ENH] Adding updated to_numpy export and then evaluation of structure learning algorithms by comparing two graphs #26

Closed adam2392 closed 2 years ago

adam2392 commented 2 years ago

Fixes #11 Fixes #18 Fixes #23

Changes proposed in this pull request:

-

Before submitting

After submitting

review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

codecov[bot] commented 2 years ago

Codecov Report

Merging #26 (bcb11d8) into main (b0bc670) will increase coverage by 2.33%. The diff coverage is 81.29%.

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
+ Coverage   81.88%   84.22%   +2.33%     
==========================================
  Files          37       51      +14     
  Lines        3158     3809     +651     
==========================================
+ Hits         2586     3208     +622     
- Misses        572      601      +29     
Impacted Files Coverage Δ
causal_networkx/tscgm.py 0.00% <0.00%> (ø)
causal_networkx/tsgraph.py 0.00% <0.00%> (ø)
causal_networkx/discovery/pcalg.py 59.87% <6.25%> (-3.40%) :arrow_down:
causal_networkx/graphs/admg.py 59.25% <59.25%> (ø)
causal_networkx/algorithms/convert.py 63.63% <63.63%> (ø)
causal_networkx/graphs/cpdag.py 64.17% <64.17%> (ø)
causal_networkx/algorithms/pag.py 95.85% <66.66%> (-0.55%) :arrow_down:
causal_networkx/discovery/classes.py 79.72% <66.66%> (+0.27%) :arrow_up:
causal_networkx/io.py 40.25% <71.42%> (+13.40%) :arrow_up:
causal_networkx/graphs/base.py 72.85% <72.85%> (ø)
... and 44 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b0bc670...bcb11d8. Read the comment docs.