To get the most out of this book
The code for this book is provided in the form of Jupyter notebooks. To run the notebooks, you’ll need to install the required packages.
The easiest way to install them is using Conda. Conda is a great package manager for Python. If you don’t have Conda installed on your system, the installation instructions can be found here: https://bit.ly/InstallConda.
Note that Conda’s license might have some restrictions for commercial use. After installing Conda, follow the environment installation instructions in the book’s repository README.md
file (https://bit.ly/InstallEnvironments).
If you want to recreate some of the plots from the book, you might need to additionally install Graphviz. For GPU acceleration, CUDA drivers might be needed. Instructions and requirements for Graphviz and CUDA are available in the same README.md
file in the repository (https://bit.ly/InstallEnvironments).
The code for this book has been only tested on Windows 11 (64-bit).
Software/hardware covered in the book |
Operating system requirements |
Python 3.9 |
Windows, macOS, or Linux |
DoWhy 0.8 |
Windows, macOS, or Linux |
EconML 0.12.0 |
Windows, macOS, or Linux |
CATENets 0.2.3 |
Windows, macOS, or Linux |
gCastle 1.0.3 |
Windows, macOS, or Linux |
Causica 0.2.0 |
Windows, macOS, or Linux |
Causal-learn 0.1.3.3 |
Windows, macOS, or Linux |
Transformers 4.24.0 |
Windows, macOS, or Linux |