Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Hands-On Explainable AI (XAI) with Python
Hands-On Explainable AI (XAI) with Python

Hands-On Explainable AI (XAI) with Python: Interpret, visualize, explain, and integrate reliable AI for fair, secure, and trustworthy AI apps

eBook
$38.99
Paperback
$54.99
Subscription
Free Trial
Renews at $12.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • 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

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.

Who is this book 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

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 31, 2020
Length: 454 pages
Edition : 1st
Language : English
ISBN-13 : 9781800202764
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jul 31, 2020
Length: 454 pages
Edition : 1st
Language : English
ISBN-13 : 9781800202764
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$12.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$129.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$179.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 148.97
Hands-On Explainable AI (XAI) with Python
$54.99
Artificial Intelligence By Example
$43.99
Hands-On Genetic Algorithms with Python
$49.99
Total $ 148.97 Stars icon
Visually different images

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4
(12 Ratings)
5 star 75%
4 star 8.3%
3 star 8.3%
2 star 0%
1 star 8.3%
Filter icon Filter
Top Reviews

Filter reviews by




Matthew Emerick Aug 17, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
About This BookThis is a book I've been waiting for for a few years. Explainable AI (XAI) is the next step in artificial intelligence theory and practice. In this book, Denis Rothman explores the currently available technologies of XAI and discusses the theory behind it as well as the legal hurdles they will help us cross. The technologies range from straight Python to various offerings from Microsoft and Google.Who is This For?The preface gives a wide range of potential readers, but I think the author pulls this off. You can easily read the theory without getting bogged down by the code, or you could work through the examples and have a good basic knowledge to apply the theory to your next project.Why Was This Written?Explainable AI is still a very new subfield of AI and there are very few texts written about it. Rothman came through at just the right time with this book. AI cannot progress much further if it continues to be a black box.OrganizationThere is no overall organization to this book, but this is a fairly new field, so that's understandable. There is a nice flow that makes sure that a new topic is introduced cleanly before being used to extend another technique.The microstructure is well suited for this type of book. Each chapter has a summary, questions, references, and further reading. Given the amount of theory in this book, the questions (largely true or false) are a useful aid in recall. The further reading section is very welcome to extend the reader's knowledge even deeper.Did This Book Succeed?I can easily say that, yes, the author reached his stated goals. This is a book that any serious AI theorist or practitioner should have in their library. Any student of AI should read through this book and practice the exercises to be relevant in the field. I hope to add a physical copy of this book to my library in the near future.Rating and Final ThoughtsThis is the book the Denis Rothman needed to write. I was very critical about his last book, but knew that he had a lot of knowledge and understanding to contribute to the field. I am very pleased to say that this is it. Rothman pushes our understanding of AI forward, in more ways than one.I am happy to give this book a 5 out of 5 and look forward to Rothman's next book.
Amazon Verified review Amazon
hawkinflight Aug 28, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have definitely heard grumblings about the "black box" nature of ML models, but I am new to reading specifically about XAI. I am curious about: what exactly does XAI mean? And, what are people doing? This book provides answers to both of these questions, in a non-academic, example and code based way. Right now, this is the only book of its kind, with a focus on Python.XAI is about creating a "glass box", transparent model, aka a white box model. By doing so, we gain "information on the inner workings of the algorithms". We can use this information to explain and interpret model results.The book starts off with a medical diagnosis problem, based on the K-Nearest Neighbors algorithm. It continues with methods and tools for "explaining", such as Facets, SHAP, Google's What-If-Tool (WIT), LIME, Counterfactual Explanations, Contrastive XAI, Anchors XAI, and Cognitive XAI.At the end of each chapter there are three very nice features:1) Questions - To help check one's understanding of the material, with the answers at the end of the book2) References - links to github repositories with relevant code, and/or documentation3) Further Reading - links to papers or websites for more information about the methodsI read that the literature on XAI is increasing very quickly, with everyone offering up a new approach. This book brings a lot of topics together in one place, and could give a person a hands-on, quick start to the field.
Amazon Verified review Amazon
Prayson Daniel Aug 15, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Denis Rothman assembles tools that open the curtain of the Wizard of Oz (AI). Hands-on Explainable AI (XAI) with Python is one book you need that introduces libraries and methods for turning Blackbox AI into Whitebox.Rotham aims to help ML developers and stakeholders build AI applications that are interpretable, reliable, fair and trustworthy. He covered SHAPE, LIME, and Alibi, as well as Facet and Google’s What-If Tool, as tools for model interpretability and visualization.What stands out most out of Rothman’s contribution is both explanations on of storytelling coverage of current regulations such as GDPR, and hands-on codes in Jupyter Notebooks to show how to implement Python’s Data Science libraries to address such concerns.
Amazon Verified review Amazon
michael mejia Sep 13, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As many who work or just do projects about machine learning or data science, there are many libraries/Algorithms which are very easy to use. You put your data in one side and you receive the results from the other. We all understand those results and maybe a few easier supervised learning models, but there comes a point where not knowing exactly what is going on in these black boxes can make it hard to explain to interested individuals and even harder to convince say your boss, on a particular model to implement where money and time is valuable. This book goes into further detail with examples and storylines which are extremely lacking in other machine learning literature out there. The examples in this book are closer to real world applications and some examples have been utilized in the real world. This book on its own does a very well job in what it does and the explanations given are clearly from someone with academic and "REAL WORLD" experience as many times examples given in other literature are more academic in nature and difficult to make a connection on where to utilize in a project.
Amazon Verified review Amazon
WU. Aug 31, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
If you're looking to buy this book, then I don't need to tell you about the explosion in ML and AI-related applications across many industries over the last decade: e-commerce, streaming services, automobiles, finance, imaging, virtual assistants, etc.Yet, for such a burgeoning field there is a dearth of resources when it comes to explainable AI. Part of the problem is that Machine Learning tools have become so refined and user-friendly that it is no longer necessary to have a good understanding of the core principles before calling an API and making predictions; just about any non-technical person could be trained to carry out a few easy steps to get low-hanging results. Thus, the demand is pretty high for introductory texts that walk the users through the many techniques for handling data, training models, and presenting predictions.However, when it comes to unearthing the insights that lead to such predictions, the literature is sadly lacking. It used to be the case that if you needed to train an easily explainable model, you could get away with some sort of regression or decision-tree based approach. But the quantity and complexity of data in recent times have led us into the territory of "black-box models": Neural Networks and Gradient-boosted trees. While these are very powerful with very intricate architecture that can handle everything from images, text, video, sound, to even creative processes, they are not easily explainable.More and more countries are recognizing the uses and misuses of AI tools and calling for legislation to reign in the scope and manner in which these tools are applied and rightfully questioning the process by which they were designed and if their creators have taken full account of the possible consequences. Just in the USA, SR11-7 has been written with an eye to curb model risk. In the EU, you have to look no further than the GDPR (“General Data Protection Regulation”). Among their chief concerns is the issue of built-in bias.So, the days are coming to an end when you could easily build models and deploy them and hide behind their accuracy as long as they got you the results you wanted.That's why I think this book is a bit of a gem: it's getting the ball rolling in training ML practitioners in not only recognizing the need to explain AI models, but more importantly giving them the tools to do so.I wish I had a book like this two, or even one year ago when I was developing explainers for Anomaly Detection and Neural networks for the financial sector.It is both highly accessible and authoritative in its survey of methods for extracting root-cause level intelligence of the prediction effected by the models. It is very current as well: SHAP, LIME, Google's WhatIf, and more are discussed with several illuminating examples to help the reader grasp the concepts and practice.What is even better, is that the author does not hide behind the same datasets used over-and-over again in every ML text, such as MNIST, CIFAR, Boston Housing, Titanic, etc.. This alone, is so refreshing and it made it such a please to read. I wish more would follow his lead.Overall, I whole-heartedly recommend this book to any ML&AI practitioner looking to understand their models and data better, and more importantly, to those looking to future-proof their organization's AI capital.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.