Accumulated Local Effects (ALE) Plot
An accumulated local effects (ALE) plot shows how a model's prediction changes with one feature by averaging prediction differences within small quantile intervals of that feature, then accumulating and centring them.
누적 국소 효과(ALE) 그림은 한 변수의 분위 구간 안에서 예측 변화를 평균하고 누적·중심화해 그 변수가 모형 예측을 어떻게 바꾸는지 보여 줍니다.
My predictors are correlated; how can I show the effect of one feature on a random forest's predictions without misleading partial dependence plots?
예측변수끼리 상관이 큰데, 부분의존도처럼 왜곡되지 않게 랜덤 포레스트에서 한 변수의 효과를 보여 줄 수 있을까요?
ALE uses only observations that actually fall in each interval of the feature and measures the local change in prediction across that interval, so it does not extrapolate to unrealistic feature combinations as partial dependence does. The accumulated, centred curve shows how much the feature raises or lowers the prediction relative to the average prediction.
When to use Accumulated Local Effects (ALE) Plot
- You want to explain a fitted machine-learning model's behaviour for a few key features.
- Features are correlated, making partial dependence unreliable.
- You need an effect curve on the prediction or probability scale.
When to use something else
- You want causal effects of changing a feature; use a causal inference design such as matching or instrumental variables.
- You need explanations for individual predictions; use SHAP or LIME.
Assumptions and requirements
- The model has been checked to predict reasonably well; ALE explains the model, not the world.
- Each quantile interval contains enough observations.
- For classification, the curve is on the probability scale of the last (positive) class.
What the analysis reports
- ALE values at interval edges for each shown feature
- Observations per interval
- Range of ALE for each feature
- Line chart of ALE for the top feature
How to report it
Accumulated local effects ([value] quantile intervals) for a [value] model showed that [value] changed the predicted [value] over a range of [value] across its observed values.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Accumulated Local Effects (ALE) Plot on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.