Book description
Resolve the black box models in your AI applications to make them fair, trustworthy, and secure. Familiarize yourself with the basic principles and tools to deploy Explainable AI (XAI) into your apps and reporting interfaces.
Key Features
- Learn explainable AI tools and techniques to process trustworthy AI results
- Understand how to detect, handle, and avoid common issues with AI ethics and bias
- Integrate fair AI into popular apps and reporting tools to deliver business value using Python and associated tools
Book Description
Effectively translating AI insights to business stakeholders requires careful planning, design, and visualization choices. Describing the problem, the model, and the relationships among variables and their findings are often subtle, surprising, and technically complex.
Hands-On Explainable AI (XAI) with Python will see you work with specific hands-on machine learning Python projects that are strategically arranged to enhance your grasp on AI results analysis. You will be building models, interpreting results with visualizations, and integrating XAI reporting tools and different applications.
You will build XAI solutions in Python, TensorFlow 2, Google Cloud's XAI platform, Google Colaboratory, and other frameworks to open up the black box of machine learning models. The book will introduce you to several open-source XAI tools for Python that can be used throughout the machine learning project life cycle.
You will learn how to explore machine learning model results, review key influencing variables and variable relationships, detect and handle bias and ethics issues, and integrate predictions using Python along with supporting the visualization of machine learning models into user explainable interfaces.
By the end of this AI book, you will possess an in-depth understanding of the core concepts of XAI.
What you will learn
- Plan for XAI through the different stages of the machine learning life cycle
- Estimate the strengths and weaknesses of popular open-source XAI applications
- Examine how to detect and handle bias issues in machine learning data
- Review ethics considerations and tools to address common problems in machine learning data
- Share XAI design and visualization best practices
- Integrate explainable AI results using Python models
- Use XAI toolkits for Python in machine learning life cycles to solve business problems
Who this book is for
This book is not an introduction to Python programming or machine learning concepts. You must have some foundational knowledge and/or experience with machine learning libraries such as scikit-learn to make the most out of this book.
Some of the potential readers of this book include:
- Professionals who already use Python for as data science, machine learning, research, and analysis
- Data analysts and data scientists who want an introduction into explainable AI tools and techniques
- AI Project managers who must face the contractual and legal obligations of AI Explainability for the acceptance phase of their applications
Table of contents
- Preface
-
Explaining Artificial Intelligence with Python
- Defining explainable AI
- Designing and extracting
-
The XAI medical diagnosis timeline
- The standard AI program used by a general practitioner
- West Nile virus – a case of life or death
- XAI can save lives using Google Location History
- Downloading Google Location History
- Reading and displaying Google Location History data
- Enhancing the AI diagnosis with XAI
- XAI applied to the medical diagnosis experimental program
- Summary
- Questions
- References
- Further reading
-
White Box XAI for AI Bias and Ethics
- Moral AI bias in self-driving cars
- Standard explanation of autopilot decision trees
- XAI applied to an autopilot decision tree
- Using XAI and ethics to control a decision tree
- Summary
- Questions
- References
- Further reading
- Explaining Machine Learning with Facets
-
Microsoft Azure Machine Learning Model Interpretability with SHAP
- Introduction to SHAP
- Getting started with SHAP
- Linear models and logistic regression
- Summary
- Questions
- References
- Further reading
- Building an Explainable AI Solution from Scratch
- AI Fairness with Google's What-If Tool (WIT)
- A Python Client for Explainable AI Chatbots
- Local Interpretable Model-Agnostic Explanations (LIME)
- The Counterfactual Explanations Method
- Contrastive XAI
- Anchors XAI
- Cognitive XAI
-
Answers to the Questions
- Chapter 1, Explaining Artificial Intelligence with Python
- Chapter 2, White Box XAI for AI Bias and Ethics
- Chapter 3, Explaining Machine Learning with Facets
- Chapter 4, Microsoft Azure Machine Learning Model Interpretability with SHAP
- Chapter 5, Building an Explainable AI Solution from Scratch
- Chapter 6, AI Fairness with Google's What-If Tool (WIT)
- Chapter 7, A Python Client for Explainable AI Chatbots
- Chapter 8, Local Interpretable Model-Agnostic Explanations (LIME)
- Chapter 9, The Counterfactual Explanations Method
- Chapter 10, Contrastive XAI
- Chapter 11, Anchors XAI
- Chapter 12, Cognitive XAI
- Other Books You May Enjoy
- Index
Product information
- Title: Hands-On Explainable AI (XAI) with Python
- Author(s):
- Release date: July 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800208131
You might also like
book
Artificial Intelligence Programming with Python
A hands-on roadmap to using Python for artificial intelligence programming In Practical Artificial Intelligence Programming with …
book
Generative AI with Python and TensorFlow 2
Implement classical and deep learning generative models through practical examples Key Features Explore creative and human-like …
book
Deep Learning with Python, Second Edition
Printed in full color! Unlock the groundbreaking advances of deep learning with this extensively revised new …
book
Python Distilled
Expert Insight for Modern Python (3.6+) Development from the Author of Python Essential Reference The richness …