Skip to Content
Interpretable Machine Learning with Python - Second Edition
book

Interpretable Machine Learning with Python - Second Edition

by Serg Masís
October 2023
Intermediate to advanced
606 pages
16h 37m
English
Packt Publishing
Content preview from Interpretable Machine Learning with Python - Second Edition

5

Local Model-Agnostic Interpretation Methods

In the previous two chapters, we dealt exclusively with global interpretation methods. This chapter will foray into local interpretation methods, which are there to explain why a single prediction or a group of predictions was made. It will cover how to leverage SHapley Additive exPlanations (SHAP’s) KernelExplainer and also another method called Local Interpretable Model-agnostic Explanations (LIME) for local interpretations. We will also explore how to use these methods with both tabular and text data.

These are the main topics we are going to cover in this chapter:

  • Leveraging SHAP’s KernelExplainer for local interpretations with SHAP values
  • Employing LIME
  • Using LIME for Natural Language Processing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Interpretable Machine Learning with Python

Interpretable Machine Learning with Python

Serg Masís

Publisher Resources

ISBN: 9781803235424Supplemental Content