Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Interpretable Machine Learning with Python

You're reading from   Interpretable Machine Learning with Python Learn to build interpretable high-performance models with hands-on real-world examples

Arrow left icon
Product type Paperback
Published in Mar 2021
Publisher Packt
ISBN-13 9781800203907
Length 736 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Serg Masís Serg Masís
Author Profile Icon Serg Masís
Serg Masís
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: Introduction to Machine Learning Interpretation
2. Chapter 1: Interpretation, Interpretability, and Explainability; and Why Does It All Matter? FREE CHAPTER 3. Chapter 2: Key Concepts of Interpretability 4. Chapter 3: Interpretation Challenges 5. Section 2: Mastering Interpretation Methods
6. Chapter 4: Fundamentals of Feature Importance and Impact 7. Chapter 5: Global Model-Agnostic Interpretation Methods 8. Chapter 6: Local Model-Agnostic Interpretation Methods 9. Chapter 7: Anchor and Counterfactual Explanations 10. Chapter 8: Visualizing Convolutional Neural Networks 11. Chapter 9: Interpretation Methods for Multivariate Forecasting and Sensitivity Analysis 12. Section 3:Tuning for Interpretability
13. Chapter 10: Feature Selection and Engineering for Interpretability 14. Chapter 11: Bias Mitigation and Causal Inference Methods 15. Chapter 12: Monotonic Constraints and Model Tuning for Interpretability 16. Chapter 13: Adversarial Robustness 17. Chapter 14: What's Next for Machine Learning Interpretability? 18. Other Books You May Enjoy

To get the most out of this book

You will need a Jupyter environment with Python 3.6+. You can do either of the following:

  • Install one on your machine locally via Anaconda Navigator or from scratch with pip.
  • Use a cloud-based one such as Google Colaboratory, Kaggle Notebooks, Azure Notebooks, or Amazon Sagemaker.

The instructions on how to get started will vary accordingly, so we strongly suggest that you search online for the latest instructions for setting them up.

For instructions on installing the many packages employed throughout the book, please go to the Git repository, which will have the updated instructions in the readme file. We expect these to change from time to time, given how often packages change. We also tested the code with specific versions detailed in the readme, so should anything fail with later versions, please install the specific version instead.

Individual chapters begin with instructions on how to install packages in this form:

!pip install --upgrade nltk lightgbm lime

But depending on the way Jupyter was set up, installing packages might be best done through the command line or using conda, so we suggest you adapt these installation instructions to suit your needs.

If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

If you are not a machine learning practitioner or are a beginner, the advice is to read the book sequentially since many concepts are only explained in great detail in earlier chapters. The recommendation for practitioners skilled in machine learning but not acquainted with interpretability is that they can skim the first three chapters to get the ethical context and concept definitions they need to make sense of the rest, but read in the rest in order. As for advanced practitioners that have the foundations of interpretability, reading in any order should be fine.

As for the code, you can read the book without running the code simultaneously or strictly for the theory. But if you plan to run the code, it is best to do it with the book as a guide to assist with the interpretation of outcomes, and to strengthen your understanding of the theory.

While you are reading the book, think of ways in which you could use the tools learned, and by the end of it, hopefully, you will be inspired to put this newly gained knowledge into action!

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 $19.99/month. Cancel anytime
Banner background image