A Python package for Structural Causal Models.
Project description
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
Built Distribution
Hashes for StructuralCausalModels-3.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 515282d35effd93fe6542c9292176675d3b5ac00f64469bfa7db0b015a32f56d |
|
MD5 | c84c6e74ddc3a5938a60cba84f53b537 |
|
BLAKE2b-256 | 42d885b10336d6977ab9b8193bc466736823a4a02484bafdff0c0c781210b920 |
Hashes for StructuralCausalModels-3.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef86850a536c4cb0b6e4cdd837f3f4c88659b54452ffbb1c861c9a90a1af9a5 |
|
MD5 | 926ad2c0d8743fd2f25ad6134acaa38d |
|
BLAKE2b-256 | 9a8c536ddd1be0662c6f2685e5feeba4f51d43bf837a4436c70c87593d2ad4d1 |