12
Explainable AI, Causality, and Counterfactuals with Genetic Algorithms
This chapter explores the application of genetic algorithms for generating “what-if” scenarios, providing valuable insights into the analysis of datasets and associated machine learning models, and enabling actionable insights, which help achieve desired outcomes.
This chapter begins by introducing the fields of Explainable AI (XAI) and causality before explaining the concept of counterfactuals. We’ll use this technique to explore the ubiquitous German Credit Risk dataset and use genetic algorithms to apply a counterfactual analysis to it and discover valuable insights.
By the end of this chapter, you will be able to do the following:
- Be familiar with the fields of XAI ...
Get Hands-On Genetic Algorithms with Python - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.