Book description
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 Features
- Examine Pearlian causal concepts such as structural causal models, interventions, counterfactuals, and more
- Discover modern causal inference techniques for average and heterogenous treatment effect estimation
- Explore and leverage traditional and modern causal discovery methods
Book Description
Causal 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 learn
- Master the fundamental concepts of causal inference
- Decipher the mysteries of structural causal models
- Unleash the power of the 4-step causal inference process in Python
- Explore advanced uplift modeling techniques
- Unlock the secrets of modern causal discovery using Python
- Use causal inference for social impact and community benefit
Who this book is for
This 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 contents
- Causal Inference and Discovery in Python – Machine Learning and Pearlian Perspective
- Foreword
- Contributors
- About the author
- About the reviewers
- Acknowledgments
- Preface
- Part 1: Causality – an Introduction
- Chapter 1: Causality – Hey, We Have Machine Learning, So Why Even Bother?
- Chapter 2: Judea Pearl and the Ladder of Causation
- Chapter 3: Regression, Observations, and Interventions
- Chapter 4: Graphical Models
- Chapter 5: Forks, Chains, and Immoralities
- Part 2: Causal Inference
- Chapter 6: Nodes, Edges, and Statistical (In)dependence
- Chapter 7: The Four-Step Process of Causal Inference
- Chapter 8: Causal Models – Assumptions and Challenges
- Chapter 9: Causal Inference and Machine Learning – from Matching to Meta-Learners
-
Chapter 10: Causal Inference and Machine Learning – Advanced Estimators, Experiments, Evaluations, and More
- Doubly robust methods – let’s get more!
- If machine learning is cool, how about double machine learning?
- Causal Forests and more
-
Heterogeneous treatment effects with experimental data – the uplift odyssey
- The data
- Choosing the framework
- We don’t know half of the story
- Kevin’s challenge
- Opening the toolbox
- Uplift models and performance
- Other metrics for continuous outcomes with multiple treatments
- Confidence intervals
- Kevin’s challenge’s winning submission
- When should we use CATE estimators for experimental data?
- Model selection – a simplified guide
- Extra – counterfactual explanations
- Wrapping it up
- References
- Chapter 11: Causal Inference and Machine Learning – Deep Learning, NLP, and Beyond
- Part 3: Causal Discovery
- Chapter 12: Can I Have a Causal Graph, Please?
- Chapter 13: Causal Discovery and Machine Learning – from Assumptions to Applications
- Chapter 14: Causal Discovery and Machine Learning – Advanced Deep Learning and Beyond
- Chapter 15: Epilogue
- Index
- Other Books You May Enjoy
Product information
- Title: Causal Inference and Discovery in Python
- Author(s):
- Release date: May 2023
- Publisher(s): Packt Publishing
- ISBN: 9781804612989
You might also like
book
Causal Inference in Python
How many buyers will an additional dollar of online marketing bring in? Which customers will only …
book
Python for Data Analysis, 3rd Edition
Get the definitive handbook for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python …
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
Introducing Python, 2nd Edition
Easy to understand and fun to read, this updated edition of Introducing Python is ideal for …