FenTechSolutions / CausalDiscoveryToolbox

Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/index.html
MIT License
1.08k stars 198 forks source link

Added the metric SHD-CPDAG #31

Closed kurowasan closed 4 years ago

kurowasan commented 4 years ago

Some algorithms (e.g. GES and PC) returns CPDAG instead of DAG. To compare these methods with methods that return DAGs, SHD-CPDAG can be useful. Basically, it convert DAGs to their respective CPDAGs and then apply SHD.

diviyank commented 4 years ago

Thanks for the contribution !