subscription.packtpub.com Open in urlscan Pro
2606:4700:10::6816:af  Public Scan

URL: https://subscription.packtpub.com/
Submission: On November 22 via manual from FR — Scanned from FR

Form analysis 1 forms found in the DOM

https://subscription.packtpub.com/search

<form action="https://subscription.packtpub.com/search" class="form-inline"><input required="" name="query" placeholder="Search titles …" type="text" class="mr-sm-2 form-control"><button type="submit"
    class="btn"><i class="fa fa-search" aria-hidden="true"></i></button></form>

Text Content

Browse Library
Advanced Search

Browse LibraryAdvanced SearchSign InStart Free Trial
My Cart
Your cart is empty!






ADVANCE YOUR KNOWLEDGE IN TECH

GET ALL THE QUALITY CONTENT YOU’LL EVER NEED TO STAY AHEAD WITH A PACKT
SUBSCRIPTION – ACCESS OVER 7,500 ONLINE BOOKS AND VIDEOS ON EVERYTHING IN TECH

Start FREE trial



YOUR SUGGESTED TITLES


FIND CONTENT BASED ON YOUR PREFERENCES AND ACTIVITY, EDIT YOUR PREFERENCES HERE

Add to Playlist
Causal Inference and Discovery in Python


CAUSAL INFERENCE AND DISCOVERY IN PYTHON


By Aleksander Molak


May 2023 | 387 pages

Read now
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
Read now
1 Part 1: Causality – an Introduction


Part 1: Causality – an Introduction

2 Chapter 1: Causality – Hey, We Have Machine Learning, So Why Even Bother?


Chapter 1: Causality – Hey, We Have Machine Learning, So Why Even Bother?

A brief history of causality

Why causality? Ask babies!

How not to lose money… and human lives

Wrapping it up

References

3 Chapter 2: Judea Pearl and the Ladder of Causation


Chapter 2: Judea Pearl and the Ladder of Causation

From associations to logic and imagination – the Ladder of Causation

Associations

What are interventions?

What are counterfactuals?

Extra – is all machine learning causally the same?

Wrapping it up

References

4 Chapter 3: Regression, Observations, and Interventions


Chapter 3: Regression, Observations, and Interventions

Starting simple – observational data and linear regression

Should we always control for all available covariates?

Regression and structural models

Wrapping it up

References

5 Chapter 4: Graphical Models


Chapter 4: Graphical Models

Graphs, graphs, graphs

What is a graphical model?

DAG your pardon? Directed acyclic graphs in the causal wonderland

Sources of causal graphs in the real world

Extra – is there causality beyond DAGs?

Wrapping it up

References

6 Chapter 5: Forks, Chains, and Immoralities


Chapter 5: Forks, Chains, and Immoralities

Graphs and distributions and how to map between them

Chains, forks, and colliders or…immoralities

Forks, chains, colliders, and regression

Wrapping it up

References

7 Part 2: Causal Inference


Part 2: Causal Inference

8 Chapter 6: Nodes, Edges, and Statistical (In)dependence


Chapter 6: Nodes, Edges, and Statistical (In)dependence

You’re gonna keep ‘em d-separated

Estimand first!

The back-door criterion

The front-door criterion

Are there other criteria out there? Let’s do-calculus!

Wrapping it up

Answer

References

9 Chapter 7: The Four-Step Process of Causal Inference


Chapter 7: The Four-Step Process of Causal Inference

Introduction to DoWhy and EconML

Step 1 – modeling the problem

Step 2 – identifying the estimand(s)

Step 3 – obtaining estimates

Step 4 – where’s my validation set? Refutation tests

Full example

Wrapping it up

References

10 Chapter 8: Causal Models – Assumptions and Challenges


Chapter 8: Causal Models – Assumptions and Challenges

I am the king of the world! But am I?

Positivity

Exchangeability

…and more

Call me names – spurious relationships in the wild

Wrapping it up

References

11 Chapter 9: Causal Inference and Machine Learning – from Matching to
Meta-Learners


Chapter 9: Causal Inference and Machine Learning – from Matching to
Meta-Learners

The basics I – matching

The basics II – propensity scores

Inverse probability weighting (IPW)

S-Learner – the Lone Ranger

T-Learner – together we can do more

X-Learner – a step further

Wrapping it up

References

12 Chapter 10: Causal Inference and Machine Learning – Advanced Estimators,
Experiments, Evaluations, and More


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

Extra – counterfactual explanations

Wrapping it up

References

13 Chapter 11: Causal Inference and Machine Learning – Deep Learning, NLP, and
Beyond


Chapter 11: Causal Inference and Machine Learning – Deep Learning, NLP, and
Beyond

Going deeper – deep learning for heterogeneous treatment effects

Transformers and causal inference

Causality and time series – when an econometrician goes Bayesian

Wrapping it up

References

14 Part 3: Causal Discovery


Part 3: Causal Discovery

15 Chapter 12: Can I Have a Causal Graph, Please?


Chapter 12: Can I Have a Causal Graph, Please?

Sources of causal knowledge

Scientific insights

Personal experience and domain knowledge

Causal structure learning

Wrapping it up

References

16 Chapter 13: Causal Discovery and Machine Learning – from Assumptions to
Applications


Chapter 13: Causal Discovery and Machine Learning – from Assumptions to
Applications

Causal discovery – assumptions refresher

The four (and a half) families

Introduction to gCastle

Constraint-based causal discovery

Score-based causal discovery

Functional causal discovery

Gradient-based causal discovery

Encoding expert knowledge

Wrapping it up

References

17 Chapter 14: Causal Discovery and Machine Learning – Advanced Deep Learning
and Beyond


Chapter 14: Causal Discovery and Machine Learning – Advanced Deep Learning and
Beyond

Advanced causal discovery with deep learning

Causal discovery under hidden confounding

Extra – going beyond observations

Causal discovery – real-world applications, challenges, and open problems

Wrapping it up!

References

18 Chapter 15: Epilogue


Chapter 15: Epilogue

What we’ve learned in this book

Five steps to get the best out of your causal project

Causality and business

Toward the future of causal ML

Learning causality

Let’s stay in touch

Wrapping it up

References

19 Index


Index

Why subscribe?

20 Other Books You May Enjoy


Other Books You May Enjoy

Packt is searching for authors like you

Share Your Thoughts

Download a free PDF copy of this book

1 Part 1: Causality – an Introduction


Part 1: Causality – an Introduction

2 Chapter 1: Causality – Hey, We Have Machine Learning, So Why Even Bother?


Chapter 1: Causality – Hey, We Have Machine Learning, So Why Even Bother?

A brief history of causality

Why causality? Ask babies!

How not to lose money… and human lives

Wrapping it up

References

3 Chapter 2: Judea Pearl and the Ladder of Causation


Chapter 2: Judea Pearl and the Ladder of Causation

From associations to logic and imagination – the Ladder of Causation

Associations

What are interventions?

What are counterfactuals?

Extra – is all machine learning causally the same?

Wrapping it up

References

4 Chapter 3: Regression, Observations, and Interventions


Chapter 3: Regression, Observations, and Interventions

Starting simple – observational data and linear regression

Should we always control for all available covariates?

Regression and structural models

Wrapping it up

References

5 Chapter 4: Graphical Models


Chapter 4: Graphical Models

Graphs, graphs, graphs

What is a graphical model?

DAG your pardon? Directed acyclic graphs in the causal wonderland

Sources of causal graphs in the real world

Extra – is there causality beyond DAGs?

Wrapping it up

References

6 Chapter 5: Forks, Chains, and Immoralities


Chapter 5: Forks, Chains, and Immoralities

Graphs and distributions and how to map between them

Chains, forks, and colliders or…immoralities

Forks, chains, colliders, and regression

Wrapping it up

References

7 Part 2: Causal Inference


Part 2: Causal Inference

8 Chapter 6: Nodes, Edges, and Statistical (In)dependence


Chapter 6: Nodes, Edges, and Statistical (In)dependence

You’re gonna keep ‘em d-separated

Estimand first!

The back-door criterion

The front-door criterion

Are there other criteria out there? Let’s do-calculus!

Wrapping it up

Answer

References

9 Chapter 7: The Four-Step Process of Causal Inference


Chapter 7: The Four-Step Process of Causal Inference

Introduction to DoWhy and EconML

Step 1 – modeling the problem

Step 2 – identifying the estimand(s)

Step 3 – obtaining estimates

Step 4 – where’s my validation set? Refutation tests

Full example

Wrapping it up

References

10 Chapter 8: Causal Models – Assumptions and Challenges


Chapter 8: Causal Models – Assumptions and Challenges

I am the king of the world! But am I?

Positivity

Exchangeability

…and more

Call me names – spurious relationships in the wild

Wrapping it up

References

11 Chapter 9: Causal Inference and Machine Learning – from Matching to
Meta-Learners


Chapter 9: Causal Inference and Machine Learning – from Matching to
Meta-Learners

The basics I – matching

The basics II – propensity scores

Inverse probability weighting (IPW)

S-Learner – the Lone Ranger

T-Learner – together we can do more

X-Learner – a step further

Wrapping it up

References

12 Chapter 10: Causal Inference and Machine Learning – Advanced Estimators,
Experiments, Evaluations, and More


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

Extra – counterfactual explanations

Wrapping it up

References

13 Chapter 11: Causal Inference and Machine Learning – Deep Learning, NLP, and
Beyond


Chapter 11: Causal Inference and Machine Learning – Deep Learning, NLP, and
Beyond

Going deeper – deep learning for heterogeneous treatment effects

Transformers and causal inference

Causality and time series – when an econometrician goes Bayesian

Wrapping it up

References

14 Part 3: Causal Discovery


Part 3: Causal Discovery

15 Chapter 12: Can I Have a Causal Graph, Please?


Chapter 12: Can I Have a Causal Graph, Please?

Sources of causal knowledge

Scientific insights

Personal experience and domain knowledge

Causal structure learning

Wrapping it up

References

16 Chapter 13: Causal Discovery and Machine Learning – from Assumptions to
Applications


Chapter 13: Causal Discovery and Machine Learning – from Assumptions to
Applications

Causal discovery – assumptions refresher

The four (and a half) families

Introduction to gCastle

Constraint-based causal discovery

Score-based causal discovery

Functional causal discovery

Gradient-based causal discovery

Encoding expert knowledge

Wrapping it up

References

17 Chapter 14: Causal Discovery and Machine Learning – Advanced Deep Learning
and Beyond


Chapter 14: Causal Discovery and Machine Learning – Advanced Deep Learning and
Beyond

Advanced causal discovery with deep learning

Causal discovery under hidden confounding

Extra – going beyond observations

Causal discovery – real-world applications, challenges, and open problems

Wrapping it up!

References

18 Chapter 15: Epilogue


Chapter 15: Epilogue

What we’ve learned in this book

Five steps to get the best out of your causal project

Causality and business

Toward the future of causal ML

Learning causality

Let’s stay in touch

Wrapping it up

References

19 Index


Index

Why subscribe?

20 Other Books You May Enjoy


Other Books You May Enjoy

Packt is searching for authors like you

Share Your Thoughts

Download a free PDF copy of this book

Read table of contents
Previous

CAUSAL INFERENCE AND DISCOVERY IN PYTHON

ALEKSANDER MOLAK

May-23
5

MACHINE LEARNING WITH PYTORCH AND SCIKIT-LEARN

YUXI HAYDEN LIU

Feb-22

MODERN GENERATIVE AI WITH CHATGPT AND OPENAI MODEL...

VALENTINA ALTO

May-23

MACHINE LEARNING ENGINEERING WITH PYTHON

ANDREW P MCMAHON

Aug-23

C# 11 AND .NET 7 – MODERN CROSS-PLATFORM DEVELOPME...

MARK PRICE

Nov-22

LAYERED DESIGN FOR RUBY ON RAILS APPLICATIONS

VLADIMIR DEMENTYEV

Aug-23

JAVASCRIPT FROM BEGINNER TO PROFESSIONAL

ENIX LTD

Dec-21

REACT 18 DESIGN PATTERNS AND BEST PRACTICES

CARLOS SANTANA ROLDAACUTEN

Jul-23

MICROSERVICES WITH SPRING BOOT 3 AND SPRING CLOUD

MAGNUS LARSSON

Aug-23

GODOT 4 GAME DEVELOPMENT PROJECTS

CHRIS BRADFIELD

Aug-23
5

SOLUTIONS ARCHITECT&RSQUO;S HANDBOOK

NEELANJALI SRIVASTAV

Jan-22

LEARN REACT WITH TYPESCRIPT

CARL RIPPON

Mar-23
Next


EXPERT READING LISTS

If you want to advance your tech knowledge but don't know where to start,
explore Expert Reading Lists comprising our best titles on popular technologies
grouped together by the Packt community.

view all
Getting Started with ChatGPT
Stay ahead of the game and start unlocking the full potential of OpenAI and...
Created: Oct-23
5 items in the reading list

Artificial Intelligence Programming with Python
Swiftly grasp the art of building smart AI applications using Python. Learn...
Created: Oct-23
12 items in the reading list

Building a Strong Foundation in Python
Explore this list for refining your Python skills and tackling business cha...
Created: Oct-23
5 items in the reading list

Getting Ahead of the C++ Learning Curve
Enhance your C++ skills and scale its challenging learning curve. Learn to ...
Created: Oct-23
5 items in the reading list




NEW RELEASES

STAY UP-TO-DATE WITH ALL THE LATEST ADDITIONS TO YOUR LIBRARY.

Salesforce B2C Solution Architect's Handbook, 2E - Second EditionApr-24
Icon / 20 / List grey
Practical Hardware Pentesting - Second EditionNov-23
Icon / 20 / List grey
Mastering Pytorch - Second EditionFeb-24
Icon / 20 / List grey
The Definitive Guide to Power Query (M)Feb-24
Icon / 20 / List grey
Machine Learning for Time Series - Second EditionFeb-24
Icon / 20 / List grey
Becoming a Data AnalystFeb-24
Icon / 20 / List grey
Python Data Cleaning Cookbook - Second EditionFeb-24
Icon / 20 / List grey
The Machine Learning Solutions Architect Handbook - Second EditionFeb-24
Icon / 20 / List grey
API Testing and Development with Postman. - Second EditionFeb-24
Icon / 20 / List grey
Azure Data Factory Cookbook - Second EditionFeb-24
Icon / 20 / List grey


TRENDING TITLES

SEE WHAT TITLES OTHER USERS ARE ACCESSING

50 Algorithms Every Programmer Should Know - Second EditionSep-23
Icon / 20 / List grey
Modern Generative AI with ChatGPT and OpenAI ModelsMay-23
Icon / 20 / List grey
React 18 Design Patterns and Best Practices - Fourth EditionJul-23
Icon / 20 / List grey
Building AI Applications with ChatGPT APIsSep-23
Icon / 20 / List grey
Learning pandas - Second EditionJun-17
Icon / 20 / List grey
Causal Inference and Discovery in PythonMay-23
Icon / 20 / List grey
Microservices with Spring Boot 3 and Spring Cloud - Third EditionAug-23
Icon / 20 / List grey
Full Stack Development with Spring Boot 3 and React - Fourth EditionOct-23
Icon / 20 / List grey
Machine Learning with SwiftFeb-18
Icon / 20 / List grey
Generative AI with LangChainDec-23
Icon / 20 / List grey

Ebooks & Videos
Web Development
Security
Programming
IoT & Hardware
Data
Game Development
Cloud & Networking
Business & Other
Mobile
View All
Useful Links
Early Access
Books
Videos
Learning Paths
Code Downloads
Contact Us
Privacy Policy
Cookie Policy
 * Packt
 * Sign up to our emails for the latest subscription updates.
 * 
 * 

© 2023 Packt Publishing Limited All Rights Reserved | Privacy Policy | Terms &
Conditions

We use cookies!
This website uses cookies to ensure you get the best experience on our website.
Learn More
Allow allSettings

Cookie preferences

We use cookies to ensure the basic functionalities of the website and to enhance
your online experience. We respect your right for privacy, so you can choose to
not allow certain types of cookies. Blocking certain cookies may impact your
experiences and services we are able to offer.
Strictly necessary cookiesStrictly necessary cookies
These cookies are necessary for the website to function and cannot be switched
off in our systems. They are set in response to actions made by you which amount
to a request for services, such as setting your privacy preferences, logging in
or filling in forms and your subscription experience.
Performance and Analytics cookiesPerformance and Analytics cookies
These cookies allow the website to remember the choices you have made in the
past. They allow us to measure and improve the performance of our site. They
help us to know which pages are in need of improvement. If you do not allow
these cookies we will not know when you have visited our site, and will not be
able to monitor its performance.
Accept allReject allSave settings