Decision Tree Instability (Bootstrap Stability) Analysis
Decision trees can change a lot when the data change slightly. This analysis refits the same tree on many bootstrap samples and measures how often each variable is chosen as the first split and used anywhere, how much the cutpoint moves, and how often the bootstrap trees' predictions agree with the original tree.
의사결정나무는 자료가 조금만 달라져도 크게 바뀔 수 있습니다. 같은 설정의 나무를 여러 붓스트랩 표본에 다시 적합해, 각 변수가 첫 분할과 전체 분할에 얼마나 자주 쓰이는지, 분할점이 얼마나 움직이는지, 붓스트랩 나무의 예측이 원래 나무와 얼마나 일치하는지를 잽니다.
If I collected a slightly different sample, would I get the same decision tree and the same predictions?
표본이 조금 달랐다면 같은 의사결정나무와 같은 예측을 얻었겠습니까?
A root variable chosen in most bootstrap trees and high prediction agreement mean the tree's story is reproducible. Many different root variables or low agreement mean the particular tree shown should not be over-interpreted; an ensemble may be preferable.
When to use Decision Tree Instability (Bootstrap Stability) Analysis
- You plan to interpret or publish a single decision tree.
- You want to compare how stable different tree depths are.
When to use something else
- You only need accurate predictions: use Random Forest
- You want stable variable selection for a linear model: use Stability Selection
Assumptions and requirements
- Rows are independent so bootstrap resampling mimics new samples
- The same tree settings are used for every refit
What the analysis reports
- Root-split and variable-use frequencies
- Importance mean and spread per variable
- Root cutpoint distribution
- Prediction agreement or variance and out-of-bag error spread
How to report it
Across [value] bootstrap refits of the decision tree, the original root split variable [value] was chosen at the root in [value] of trees, and mean agreement with the original tree's predictions was [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 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 Decision Tree Instability (Bootstrap Stability) Analysis 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.