jtcbrule / whittemore

Causal programming in Clojure
Eclipse Public License 1.0
26 stars 2 forks source link

Whittemore

Causal programming in Clojure.

Getting started

The easiest way to get started is with Leiningen (requires Java, OpenJDK 8 recommended). Once Leiningen is installed, create a new project:

lein new whittemore demo
cd demo

A REPL can be started from within the project directory:

lein repl

Rich output (HTML, images, LaTeX) is available in Jupyter notebooks. Once Jupyter installed:

lein jupyter install-kernel # first time only
lein jupyter notebook

Graphviz is recommended for rendering causal diagrams. Whittemore will automatically fallback to viz.cljc if Graphviz is not installed, but this is much slower.

Examples

The notebooks directory has several examples.

References

Whittemore paper, presented at the 2019 AAAI-WHY Symposium

Whittemore is based on the structural causal model / graphical causal model / "Pearlian" causality approach. A good survey is On Pearl's Hierarchy and the Foundations of Causal Inference (Bareinboim et al 2020)

License

Copyright © 2018 Joshua Brule

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.