Demystify causal inference and casual discovery by uncovering causal principles and merging them with powerful machine learning algorithms for observational and experimental data
Purchase of the print or Kindle book includes a free PDF eBook
Key FeaturesExamine Pearlian causal concepts such as structural causal models, interventions, counterfactuals, and moreDiscover modern causal inference techniques for average and heterogenous treatment effect estimationExplore and leverage traditional and modern causal discovery methodsBook DescriptionCausal methods present unique challenges compared to traditional machine learning and statistics. Learning causality can be challenging, but it offers distinct advantages that elude a purely statistical mindset. Causal Inference and Discovery in Python helps you unlock the potential of causality.
You’ll start with basic motivations behind causal thinking and a comprehensive introduction to Pearlian causal concepts, such as structural causal models, interventions, counterfactuals, and more. Each concept is accompanied by a theoretical explanation and a set of practical exercises with Python code. Next, you’ll dive into the world of causal effect estimation, consistently progressing towards modern machine learning methods. Step-by-step, you’ll discover Python causal ecosystem and harness the power of cutting-edge algorithms. You’ll further explore the mechanics of how “causes leave traces” and compare the main families of causal discovery algorithms. The final chapter gives you a broad outlook into the future of causal AI where we examine challenges and opportunities and provide you with a comprehensive list of resources to learn more.
By the end of this book, you will be able to build your own models for causal inference and discovery using statistical and machine learning techniques as well as perform basic project assessment.
What you will learnMaster the fundamental concepts of causal inferenceDecipher the mysteries of structural causal modelsUnleash the power of the 4-step causal inference process in PythonExplore advanced uplift modeling techniquesUnlock the secrets of modern causal discovery using PythonUse causal inference for social impact and community benefitWho this book is forThis book is for machine learning engineers, researchers, and data scientists looking to extend their toolkit and explore causal machine learning. It will also help people who’ve worked with causality using other programming languages and now want to switch to Python, those who worked with traditional causal inference and want to learn about causal machine learning, and tech-savvy entrepreneurs who want to go beyond the limitations of traditional ML. You are expected to have basic knowledge of Python and Python scientific libraries along with knowledge of basic probability and statistics.
Table of ContentsCausality – Hey, We Have Machine Learning, So Why Even Bother?Judea Pearl and the Ladder of CausationRegression, Observations, and InterventionsGraphical ModelsForks, Chains, and ImmoralitiesNodes, Edges, and Statistical (In)dependenceThe Four-Step Process of Causal InferenceCausal Models – Assumptions and ChallengesCausal Inference and Machine Learning – from Matching to Meta- Learners
This book was so necessary! Currently, the IT world is obsessed with prediction models based on correlations while correlation is not causation! No wonder that LLMs and other models built into AI create biases and produce false statements about the world. Causal inference is the key to build more reliable representations of the real-world systems and unlock the next level of (artificial) intelligence.
I wish I had this book in my hands before I started my PhD in causal inference in cognitive neuroimaging many years ago. Aleksander Molak is a great educator and he made this material comprehensible to a wide audience. Practical examples make this material directly applicable to R&D research. If you would like to supercharge your skills in Data Science with causal inference from the comfort of your home, this is currently the best choice in the market. Highly recommended!
I read this book a few months after Causal Inference in Python: Applying Causal Inference in the Tech Industry, and I tend to think of them as a pair. Together, they probably constitute the most practical introduction to dealing with causal inference for practitioners working in all sorts of companies. But make no mistake, this book, like the other one mentioned, no matter how practical and full of useful examples in Python, using many state-of-the-art libraries, demands serious attention and deep thinking. I plan to go back to this book again and again for causal inference related problems. We're lucky to have such practical introductions, full of code examples and explanations, because establishing causal relationships will only get more important as time passes and gathering more and more data will become easier and cheaper, as exemplified by Elias Bareinboim in his excellent commentary on whether worrying causality makes any for "purely" predictive tasks.
Conclusion: if you're curious what it means to "calculate" and then interpret causality for various data sets using popular Python libraries, you can't go wrong with this practical introduction. Strongly recommended.
The book on causal discovery was a game-changer for me during my master's thesis. It made understanding causal discovery a breeze with its clear explanations, practical examples, and easy-to-follow code snippets. Unlike other complex reads, this book simplified concepts and offered relatable use cases that made learning a lot easier.
What I loved most was its straightforward approach. It didn't try to sound fancy or dramatic. Instead, it focused on delivering practical knowledge. The book's simplicity made it stand out among other resources I used for my thesis.
I'd highly recommend this book to anyone interested in causal discovery. Whether you're a student or a researcher, its accessible language, helpful examples, and practical insights make it a valuable read. It certainly made a significant impact on how I approached and understood my thesis topic.
i can't thank enough for the resources given in this book. The author clearly walks through every single concept of causal inference. The formula and some metaphors that explain the concepts makes me able to grasp and apply them into my ongoing and future project i am building. One thing that makes this book standout is the hands-on approach of every chapter along with the code available is a plus point of this book.
If a beginner to causal thinking, consider a different book first . The examples remained sufficiently vague for this to be termed a collection of words on paper. Might just revisit
This book is a must read for anyone interested in science and machine learning. The text is very clear for anyone with some basic understanding in the subject and it provides good examples.