Bias-Variance Decomposition of Prediction Error
Bias-variance decomposition splits a learner's expected test error into a part due to systematic misfit and a part due to sensitivity to the training sample, estimated by refitting on bootstrap resamples.
편향-분산 분해는 붓스트랩 재표본으로 학습기를 반복 적합해 기대 예측 오차를 체계적 부적합에 의한 편향과 학습표본에 대한 민감도에 의한 분산으로 나누는 방법입니다.
My decision tree fits the training data well but predicts poorly; how can I show whether the problem is high variance or high bias compared with other models?
의사결정나무가 학습 자료에는 잘 맞는데 예측은 나쁩니다. 다른 모형과 비교해 분산이 큰 건지 편향이 큰 건지 어떻게 보여줄 수 있나요?
Refit each learner on many bootstrap samples of the training data, predict the same test rows every time and split the average test loss into squared bias and variance. A flexible model like a single tree typically shows large variance, while a linear model shows large bias on nonlinear data.
When to use Bias-Variance Decomposition of Prediction Error
- You want to explain why a model under- or overfits.
- You are comparing simple and flexible learners and want to see where their error comes from.
- You are deciding whether bagging (variance) or richer features (bias) would help more.
When to use something else
- You only need a performance estimate; use cross-validation directly.
- The data are tiny, so bootstrap refits barely differ from each other; report cross-validated error instead.
Assumptions and requirements
- The held-out test part represents the population of interest.
- Without the true regression function, irreducible noise is counted inside squared bias.
- For classes, zero-one loss follows Domingos' definitions with the most frequent prediction as the main prediction.
What the analysis reports
- Expected loss, bias (squared bias) and variance for each learner
- Net variance for zero-one loss
- Per-model comparison table and bar chart
How to report it
Using [value] bootstrap refits, the expected squared test loss of the [model] was [value], of which [value] was squared bias and [value] variance, compared with [value], [value] and [value] for the [other model].
Related methods
- Bootstrap
- Bagging
- Cross-Validation
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Bias-Variance Decomposition of Prediction Error on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.