All Projects → cmu-phil → causal-learn

cmu-phil / causal-learn

Licence: GPL-3.0 license
Causal Discovery for Python. Translation and extension of the Tetrad Java code.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to causal-learn

Awesome-Neural-Logic
Awesome Neural Logic and Causality: MLN, NLRL, NLM, etc. 因果推断,神经逻辑,强人工智能逻辑推理前沿领域。
Stars: ✭ 106 (-75.23%)
Mutual labels:  causality, causal-inference, causal
causaldag
Python package for the creation, manipulation, and learning of Causal DAGs
Stars: ✭ 82 (-80.84%)
Mutual labels:  causality, causal-inference
Causal Reading Group
We will keep updating the paper list about machine learning + causal theory. We also internally discuss related papers between NExT++ (NUS) and LDS (USTC) by week.
Stars: ✭ 339 (-20.79%)
Mutual labels:  causality, causal-inference
cfml tools
My collection of causal inference algorithms built on top of accessible, simple, out-of-the-box ML methods, aimed at being explainable and useful in the business context
Stars: ✭ 24 (-94.39%)
Mutual labels:  causality, causal-inference
RECCON
This repository contains the dataset and the PyTorch implementations of the models from the paper Recognizing Emotion Cause in Conversations.
Stars: ✭ 126 (-70.56%)
Mutual labels:  causality, causal-inference
cfvqa
[CVPR 2021] Counterfactual VQA: A Cause-Effect Look at Language Bias
Stars: ✭ 96 (-77.57%)
Mutual labels:  causality, causal-inference
Dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
Stars: ✭ 3,480 (+713.08%)
Mutual labels:  causality, causal-inference
causeinfer
Machine learning based causal inference/uplift in Python
Stars: ✭ 45 (-89.49%)
Mutual labels:  causality, causal-inference
causal-ml
Must-read papers and resources related to causal inference and machine (deep) learning
Stars: ✭ 387 (-9.58%)
Mutual labels:  causal-inference, causal-discovery
ENCO
Official repository of the paper "Efficient Neural Causal Discovery without Acyclicity Constraints"
Stars: ✭ 52 (-87.85%)
Mutual labels:  causality, causal-discovery
CausalityTools.jl
Algorithms for causal inference and the detection of dynamical coupling from time series, and for approximation of the transfer operator and invariant measures.
Stars: ✭ 45 (-89.49%)
Mutual labels:  time-series, causal-inference
iPerceive
Applying Common-Sense Reasoning to Multi-Modal Dense Video Captioning and Video Question Answering | Python3 | PyTorch | CNNs | Causality | Reasoning | LSTMs | Transformers | Multi-Head Self Attention | Published in IEEE Winter Conference on Applications of Computer Vision (WACV) 2021
Stars: ✭ 52 (-87.85%)
Mutual labels:  causality
ECGClassifier
CNN, RNN, and Bayesian NN classification for ECG time-series (using TensorFlow in Swift and Python)
Stars: ✭ 53 (-87.62%)
Mutual labels:  time-series
imputeFin
Imputation of Financial Time Series with Missing Values and/or Outliers
Stars: ✭ 17 (-96.03%)
Mutual labels:  time-series
gigsib
📑Golang Is Good, Structure Is Bad
Stars: ✭ 18 (-95.79%)
Mutual labels:  structure
Machine-Learning-Projects-2
No description or website provided.
Stars: ✭ 23 (-94.63%)
Mutual labels:  time-series
time-series-labs
Hands-on training labs for Deep Learning in Time Series course by CERTIFAI
Stars: ✭ 17 (-96.03%)
Mutual labels:  time-series
readabs
Download and tidy time series data from the Australian Bureau of Statistics in R
Stars: ✭ 73 (-82.94%)
Mutual labels:  time-series
ninja automator
Acquire data with honour and wisdom — using the way of the ninja.
Stars: ✭ 21 (-95.09%)
Mutual labels:  time-series
drnet
💉📈 Dose response networks (DRNets) are a method for learning to estimate individual dose-response curves for multiple parametric treatments from observational data using neural networks.
Stars: ✭ 48 (-88.79%)
Mutual labels:  causal-inference

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:

  • Constraint-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.

Running examples

For search methods in causal discovery, there are various running examples in the ‘tests’ directory, such as TestPC.py and TestGES.py.

For the implemented modules, such as (conditional) independent test methods, we provide unit tests for the convenience of developing your own methods.

Benchmarks

For the convenience of our community, CMU-CLeaR group maintains a list of benchmark datasets including real-world scenarios and various learning tasks. Please refer to the following links:

Please feel free to let us know if you have any recommendation regarding causal datasets with high-quality. We are grateful for any effort that benefits the development of causality community.

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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].