Skip to main content

causal-learn Python Package

Project description

causal-learn: Causal Discovery for Python

causal-learn is an open-source causal discovery library for Python, which is a Python translation and extension of Tetrad.

The package is on its very first version and we are actively developing it. Please, as a beta user, if you are willing, would you please kindly share any feedbacks (issues, suggestions, etc.) about it with us?

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

causal-learn-0.1.1.6.tar.gz (114.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

causal_learn-0.1.1.6-py3-none-any.whl (148.3 kB view details)

Uploaded Python 3

File details

Details for the file causal-learn-0.1.1.6.tar.gz.

File metadata

  • Download URL: causal-learn-0.1.1.6.tar.gz
  • Upload date:
  • Size: 114.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3

File hashes

Hashes for causal-learn-0.1.1.6.tar.gz
Algorithm Hash digest
SHA256 4f3ed2dd9e44318c7bcf8a4d2ece62db0e3a3eb8cb51687e6317c42ea6c0d941
MD5 b3ecdb85795e7b23bf4184c2381950d8
BLAKE2b-256 735fd8ce3d06478c4f474e09864e3e209fae27a8a4dab7c3e41ac82b9155ef71

See more details on using hashes here.

File details

Details for the file causal_learn-0.1.1.6-py3-none-any.whl.

File metadata

  • Download URL: causal_learn-0.1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 148.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3

File hashes

Hashes for causal_learn-0.1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a908109521ecc3002a3f96cd94fabad5a9c39f433b921a8e91ebf4f827f44eda
MD5 8cdf1164512106e78b3b51fd45509ca6
BLAKE2b-256 45bef1c84631fc7cbea803255aefbc53bee58bc8dbc5561726ad1bf487123e2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page