Interpretability and Explainability in AI Using Python

Overview

Released
January 10, 2026
ISBN
9789348107572
Format
ePub

Book Details

Demystify AI Decisions and Master Interpretability and Explainability Today

Key Features
● Master Interpretability and Explainability in ML, Deep Learning, Transformers, and LLMs
● Implement XAI techniques using Python for model transparency
● Learn global and local interpretability with real-world examples

Book Description
Interpretability in AI/ML refers to the ability to understand and explain how a model arrives at its predictions. It ensures that humans can follow the model's reasoning, making it easier to debug, validate, and trust.

Interpretability and Explainability in AI Using Python takes you on a structured journey through interpretability and explainability techniques for both white-box and black-box models.

You'll start with foundational concepts in interpretable machine learning, exploring different model types and their transparency levels. As you progress, you'll dive into post-hoc methods, feature effect analysis, anchors, and counterfactuals—powerful tools to decode complex models. The book also covers explainability in deep learning, including Neural Networks, Transformers, and Large Language Models (LLMs), equipping you with strategies to uncover decision-making patterns in AI systems.

Through hands-on Python examples, you'll learn how to apply these techniques in real-world scenarios. By the end, you'll be well-versed in choosing the right interpretability methods, implementing them efficiently, and ensuring AI models align with ethical and regulatory standards—giving you a competitive edge in the evolving AI landscape.

What you will learn
● Dissect key factors influencing model interpretability and its different types.
● Apply post-hoc and inherent techniques to enhance AI transparency.
● Build explainable AI (XAI) solutions using Python frameworks for different models.
● Implement explainability methods for deep learning at global and local levels.
● Explore cutting-edge research on transparency in transformers and LLMs.
● Learn the role of XAI in Responsible AI, including key tools and methods.

Table of Contents
1. Interpreting Interpretable Machine Learning
2. Model Types and Interpretability Techniques
3. Interpretability Taxonomy and Techniques
4. Feature Effects Analysis with Plots
5. Post-Hoc Methods
6. Anchors and Counterfactuals
7. Interpretability in Neural Networks
8. Explainable Neural Networks
9. Explainability in Transformers and Large Language Models
10. Explainability and Responsible AI
Index

About the Authors
Aruna Chakkirala a seasoned technical leader and currently serves as an AI Solutions Architect at Microsoft. She was instrumental in the early adoption of Generative AI and constantly strives to keep pace with the evolving domain. As a Data Scientist, she has built Supervised and Unsupervised models to address cybersecurity problems. She holds a patent for her pioneering work in community detection for DNS querying. Her technical expertise spans multiple domains, including Networks, Security, Cloud, Big Data, and AI. She believes that the success of real-world AI applications increasingly depends on well- defined architectures across all encompassing domains. Her current interests include Generative AI, applications of LLMs and SLMs, Causality, Mechanistic Interpretability, and Explainability tools.

Author Description

Aruna Chakkirala, a seasoned technical leader and currently serves as an AI Solutions Architect at Microsoft. She was instrumental in the early adoption of Generative AI and constantly strives to keep pace with the evolving domain.
As a Data Scientist, she has built Supervised and Unsupervised models to address cybersecurity problems. She holds a patent for her pioneering work in community detection for DNS querying. Her technical expertise spans multiple
domains, including Networks, Security, Cloud, Big Data, and AI. She believes that the success of real-world AI applications increasingly depends on well- defined architectures across all encompassing domains. Her current interests include Generative AI, applications of LLMs and SLMs, Causality, Mechanistic Interpretability, and Explainability tools.

In her two-decade career, she has developed expertise in scale, security, and strategy at various organizations such as Infoblox, Yahoo, Nokia, EFI, and Verisign. Aruna has led highly successful teams and thrives on working with
cutting-edge technologies. She is a frequent technical and keynote speaker, panelist, and an active blogger. She contributes to community open groups and serves as a guest faculty member at premier academic institutes. Outside of work, she is an avid reader and enjoys creative writing. A passionate advocate for diversity and inclusion, she is actively involved in GHCI, LeanIn, and WITI communities.

Aruna holds an M.Tech in Software Systems from BITS Pilani and a Master's in Computer Applications from Goa University. She is also an IIMB alumna and has earned certifications in Data Science from IISc Bangalore, Azure Data Science, Azure Data Engineering, and Google Professional Machine Learning Engineer.

Read this book in our EasyReadz App for Mobile or Tablet devices

To read this book on Windows or Mac based desktops or laptops:

Recently viewed Books

Help make us better

We’re always looking for ways to improve. If you’ve got feedback or suggestions about how we can do better, we’d love to hear from you.

Note: If you’re looking to solve a problem with your URMS eReader, app, or purchase, visit our Help page, or submit a help request.

What is the purpose of your visit?
Did you accomplish your goal?
Yes No
Where can we improve?
Your comments*