Methods · Machine learning · Explainable AI (XAI)

LIME

LIME (Local Interpretable Model-agnostic Explanations) explains an individual prediction of any machine learning model by fitting a simple, interpretable surrogate model to perturbed samples around that prediction.

LIME(국소적 해석가능 모형불가지 설명)은 특정 예측 주변에서 교란한 표본에 단순하고 해석 가능한 대리모형을 적합하여 어떤 머신러닝 모형의 개별 예측이든 설명하는 방법이다.

How do I explain why a machine learning model made a specific prediction?

머신러닝 모형이 특정 예측을 왜 내렸는지 어떻게 설명하나요?

LIME perturbs the input around one case, records how the black-box model's predictions change, and fits a weighted linear model whose coefficients show which features pushed that prediction up or down. It fits case-level explanations for any classifier or regressor, including tabular, text, and image models.

When to use LIME

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

LIME explanations indicated that [feature] contributed most to the predicted [class] for [case] (weight = [value]), with a local surrogate R² of [value].

Related methods

Run LIME on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Python results are cross-checked against R reference outputs in every deployment
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q71003 · Reviewed 2026-10-25