Skip to content

Methods · Machine learning · Model explanation

Second-Order Accumulated Local Effects (ALE Interaction)

Second-order accumulated local effects isolate the pure two-way interaction of two features in a fitted model. Within each cell of a quantile grid the method averages the second-order finite difference of the predictions over the rows that fall there, accumulates these local effects, removes the two main effects and centres the surface, so correlated features do not produce extrapolated artefacts.

2차 누적 국소 효과는 적합된 모형에서 두 변수의 순수한 상호작용만 분리합니다. 방법은 분위수 격자의 각 칸에서 그 칸에 속한 행들의 예측값 2차 유한차분을 평균하고, 이를 누적한 뒤 두 주효과를 빼고 중심화하므로 상관된 변수에서도 외삽으로 인한 왜곡이 생기지 않습니다.

Do two features interact in my model, and how does their joint effect differ from the sum of their separate effects?

내 모형에서 두 변수가 상호작용하며, 둘의 결합 효과는 각각의 효과를 더한 것과 어떻게 다릅니까?

The method reports the interaction surface on the grid, its weighted standard deviation in absolute terms and relative to the spread of the predictions, and the number of empty grid cells. Without a chosen pair it screens the pairs among the most important features and ranks them by interaction strength.

When to use Second-Order Accumulated Local Effects (ALE Interaction)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A second-order accumulated local effects analysis of a random forest found the strongest pure interaction for [feature] x [feature]: the surface ranged from [value] to [value] (weighted SD [value], [value]% of the prediction SD).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with reference values computed independently in the test suite at a stated tolerance of 1e-9.

    독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과(허용오차 1e-9).

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 Second-Order Accumulated Local Effects (ALE Interaction) 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
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.

Method ID Q71147 · Reviewed 2026-10-25