LIME: Local Interpretable Explanations
lime.tabular.LimeTabularExplainer, perturbing input, local linear approximation.
What is LIME
LIME (Local Interpretable Model-agnostic Explanations) explains a single prediction by fitting a simple, interpretable model (like linear regression) to the complex model behavior in a small neighborhood around that one instance.
Local, Not Global
A black-box model may be wildly nonlinear overall, but near one point it is approximately linear. LIME exploits this: it does not explain the whole model, only its behavior locally around the instance you care about.
All lessons in this course
- Bias Detection in ML Models
- SHAP Values for Model Explainability
- LIME: Local Interpretable Explanations
- AI Ethics and Governance Frameworks