causal-learn Python Package
Project description
causal-learn: Causal Discovery for Python
Causal-learn is a python package for causal discovery that implements both classical and state-of-the-art causal discovery algorithms, which is a Python translation and extension of Tetrad.
The package is actively being developed. Feedbacks (issues, suggestions, etc.) are highly encouraged.
Package Overview
Our causal-learn implements methods for causal discovery:
- Constrained-based causal discovery methods.
- Score-based causal discovery methods.
- Causal discovery methods based on constrained functional causal models.
- Hidden causal representation learning.
- 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
- numpy
- networkx
- pandas
- scipy
- scikit-learn
- statsmodels
- pydot
(For visualization)
- matplotlib
- graphviz
To use causal-learn, we could install it using pip:
pip install causal-learn
Documentation
Please kindly refer to causal-learn Doc for detailed tutorials and usages.
Contribution
Please feel free to open an issue if you find anything unexpected. And please create pull requests, perhaps after passing unittests in 'tests/', if you would like to contribute to causal-learn. We are always targeting to make our community better!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for causal_learn-0.1.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b06fa81a48e9c97523a32389ab948d409cb2c4fb24bc62691bea56b3ab52fc |
|
MD5 | 57c9d082f424631a473665397da0218f |
|
BLAKE2b-256 | d23e2c1a530a5a5bdba2e766ce85e1a5f1e21452f50587689459b240aa1a1e85 |