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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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