Nested cross-validation confidence interval
Confidence interval for a learner's prediction error with a nested-CV standard error and bias correction.
중첩 교차검증 신뢰구간 — 중첩 교차검증으로 표준오차와 편향 보정을 구해 예측 오차의 신뢰구간을 만듭니다.
Runs Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t) with: generalization ci set to “nested_cv”.
기본 방법(Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t))에 다음 설정을 고정해 실행합니다: generalization ci = nested_cv.
How do I get a confidence interval for my model's prediction error that does not come out too narrow?
모형 예측 오차의 신뢰구간이 너무 좁게 나오지 않게 하려면 어떻게 구하나요?
Nested cross-validation estimates the standard error of the cross-validation estimate and corrects its bias, giving intervals with close to nominal coverage. Behind it is Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t) with generalization_ci = nested_cv already set; checks and report are the same as for Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t).
When to use Nested cross-validation confidence interval
- Samples are small to moderate, where naive cross-validation intervals undercover.
- You need to report prediction error with an interval.
When to use something else
- Models are slow to fit; nested cross-validation multiplies the number of fits many times.
- You want to try other settings side by side; open Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t) and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
Assumptions and requirements
The same as for Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t):
- Rows are independent; grouped or time-ordered data need grouped or forward-chaining splits.
- Each half-sample is large enough for both learners to train sensibly.
- Loss is the error rate for classes and mean squared error for numeric outcomes.
What the analysis reports
The output of Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t), with the preset shown in the settings:
- Loss of each learner on every fold and the paired differences
- Dietterich 5x2cv t (5 df), Alpaydin 5x2cv F (10, 5 df) and corrected resampled t (9 df) with p values
- McNemar test on the first replication for classifiers
- Mean loss or accuracy of each learner
How this is validated
검증 근거
This variant runs the same engine as Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t) with the settings above fixed, so the evidence is that method’s: compared with independent computations. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t)
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t): 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
- Compared with independent computations, as recorded for Comparing Two Learners by Cross-Validation (5x2cv t, 5x2cv F, Corrected Resampled t) (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.