{"repo":"py-why/causal-learn","free":true,"listed":false,"github":"https://github.com/py-why/causal-learn","clone":"git clone https://github.com/py-why/causal-learn.git","description":"Causal Discovery in Python. Learning causality from data.","language":"Python","stars":1672,"topics":["causal","causal-discovery","causal-inference","causality","python","graph","structure","tetrad","time-series","hidden-causal"],"license":"MIT","category":"dev-tools","readme_excerpt":"Causal-learn (documentation, paper) is an open-source platform for causal learning with both classical and state-of-the-art causal discovery algorithms. It aims to recover causal structure from observational data, without requiring interventional experiments, while offering provable correctness guarantees. The package is actively being developed. Feedback (issues, suggestions, etc.) would be greatly appreciated. News Causal discovery is now available anytime , anywhere ! Check out our latest online agentic version of causal-learn: causallearn.com Package Overview Our causal-learn implements methods for causal discovery: Constraint-based causal discovery methods. Score-based causal discovery methods. Causal discovery methods based on constrained functional causal models. Hidden causal representation learning. Permutation-based causal discovery methods. Granger causality. Multiple utilities for building your own method, such as independence tests, score functions, graph operations, and evaluations. Install Causal-learn needs the following packages to be installed beforehand: python 3 ( =3.7) numpy networkx pandas scipy scikit-learn statsmodels pydot (For visualization) matplotlib graphviz To use causal-learn, we could install it using pip: Documentation Please kindly refer to causal-learn Doc for detailed tutorials and usages. Running examples For search methods in causal discovery, there are various running examples in the ‘tests’ directory, such as TestPC.py and TestGES.py. F","default_branch":null,"files":null,"tree":[],"storefront":"/r/py-why","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/py-why/causal-learn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}