Using LIME on tabular data
In the Practical example of using LIME for classification problems section of Chapter 4, LIME for Model Interpretability, we discussed how to set up LIME in Python and how to use LIME to explain classification ML models. The dataset used for the tutorial in Chapter 4, LIME for Model Interpretability (https://github.com/PacktPublishing/Applied-Machine-Learning-Explainability-Techniques/blob/main/Chapter04/Intro_to_LIME.ipynb) was a tabular structured data. In this section, we will discuss using LIME to explain regression models that are built on tabular data.
Setting up LIME
Before starting the code walk-through, I would ask you to check the following notebook, https://github.com/PacktPublishing/Applied-Machine-Learning-Explainability-Techniques/blob/main/Chapter05/LIME_with_tabular_data.ipynb, which already contains the steps needed to understand the concept that we are going to discuss now in more depth. I assume that most of the Python libraries that...