Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Data Science Solutions with Anaconda

You're reading from  Building Data Science Solutions with Anaconda

Product type Book
Published in May 2022
Publisher Packt
ISBN-13 9781800568785
Pages 330 pages
Edition 1st Edition
Languages
Author (1):
Dan Meador Dan Meador
Profile icon Dan Meador

Table of Contents (16) Chapters

Preface Part 1: The Data Science Landscape – Open Source to the Rescue
Chapter 1: Understanding the AI/ML landscape Chapter 2: Analyzing Open Source Software Chapter 3: Using the Anaconda Distribution to Manage Packages Chapter 4: Working with Jupyter Notebooks and NumPy Part 2: Data Is the New Oil, Models Are the New Refineries
Chapter 5: Cleaning and Visualizing Data Chapter 6: Overcoming Bias in AI/ML Chapter 7: Choosing the Best AI Algorithm Chapter 8: Dealing with Common Data Problems Part 3: Practical Examples and Applications
Chapter 9: Building a Regression Model with scikit-learn Chapter 10: Explainable AI - Using LIME and SHAP Chapter 11: Tuning Hyperparameters and Versioning Your Model Other Books You May Enjoy

Explaining a model's outcome with LIME

Now we are moving on to black box models. They are becoming much more common due to the efficacy they have shown in popular areas of the domain, such as NLP, vision problems, and various other areas where vast amounts of data being fed in produce amazing results. These domains aren't going anywhere, and so we need to find a way to interpret these models after the fact using post-hoc interpretability.

The first approach that we'll look at is Local Interpretable Model-Agnostic Explanations (LIME), which assumes that if you zoom in on even a complex nonlinear relationship, you will find a linear one at the local level. It then will try to learn this local linear relationship by creating synthetic records that are like the record we care about. By creating these points/records that have slightly altered inputs, it can figure out the impact that each feature has based on the model's output. As the name suggests, its model agnostic...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}