Skip to main content

A Python package for Structural Causal Models.

Project description

Build Status License: MIT

StructuralCausalModels

Description

A Python package implementing Structural Causal Models (SCMs).

The package makes it possible to go from Structural Causal Models to Graphs. It is also possible to generate a Linear Structural Causal Model directly from a coefficient matrix (i.e. the weighted adjacency matrix of the graph).

'Graph' objects are defined by giving an adjacency matrix (and a name, optionally). They contain and maintain different representations of a graph which can be useful depending on the circumstances, and tools to go from any one representation to any other.

The representations implemented at present are:

  • via an adjacency matrix,
  • via adjacency lists,
  • via edges ("typed" edges : no edge, forward, backward or undirected edge).

Documentation

The documentation for the package is available here.

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

StructuralCausalModels-3.2.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

StructuralCausalModels-3.2.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file StructuralCausalModels-3.2.0.tar.gz.

File metadata

  • Download URL: StructuralCausalModels-3.2.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

File hashes

Hashes for StructuralCausalModels-3.2.0.tar.gz
Algorithm Hash digest
SHA256 515282d35effd93fe6542c9292176675d3b5ac00f64469bfa7db0b015a32f56d
MD5 c84c6e74ddc3a5938a60cba84f53b537
BLAKE2b-256 42d885b10336d6977ab9b8193bc466736823a4a02484bafdff0c0c781210b920

See more details on using hashes here.

File details

Details for the file StructuralCausalModels-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: StructuralCausalModels-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

File hashes

Hashes for StructuralCausalModels-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ef86850a536c4cb0b6e4cdd837f3f4c88659b54452ffbb1c861c9a90a1af9a5
MD5 926ad2c0d8743fd2f25ad6134acaa38d
BLAKE2b-256 9a8c536ddd1be0662c6f2685e5feeba4f51d43bf837a4436c70c87593d2ad4d1

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