causal-learn icon indicating copy to clipboard operation
causal-learn copied to clipboard

Passing domain knowledge

Open dg46 opened this issue 4 years ago • 5 comments

I am planning to get rid of Java dependencies in cause2e by replacing py-causal with causal-learn for the discovery step.

However, my applications require passing domain knowledge in the form of required or forbidden edges in the causal graph. Py-causal and Tetrad have a great interface for domain knowledge. Will this be included in causal-learn, too? In the docs, I have only found possibilities for LiNGAM-type models, but not for GES or PC.

Thanks for finally translating Tetrad to Python!

dg46 avatar Nov 19 '21 13:11 dg46

Oops, found it for PC. Must have overlooked it, sorry. I will try this out, but it would still be helpful to have the functionality for other algorithm types.

dg46 avatar Nov 19 '21 14:11 dg46

Thanks for your feedback. Cause2e is a fantastic package! :)

In the future, we will include 'background_knowledge' for other methods. We will update you when these functions are available. Thanks for your interest in causal-learn!

kunwuz avatar Nov 19 '21 16:11 kunwuz

Thanks a lot for the quick reply, sounds great!

dg46 avatar Nov 22 '21 08:11 dg46

Hi @dg46, just a quick update :) We've re-implemented FCI. Now it includes the background_knowledge. Also, the speed of FCI has been improved a lot.

kunwuz avatar Dec 16 '21 05:12 kunwuz

Thank you for the update, I will give it a try!

dg46 avatar Dec 17 '21 10:12 dg46