Learning and Validation Curves
Learning and validation curves plot training and cross-validated scores against training set size and against one hyperparameter to diagnose underfitting, overfitting and whether more data would help.
학습 곡선과 검증 곡선은 학습 자료 크기와 초모수 하나에 따른 학습·교차검증 점수를 그려 과소적합·과적합과 자료를 더 모을 가치가 있는지를 진단합니다.
Would collecting more data improve my model, or is it overfitting, and which hyperparameter value should I use?
자료를 더 모으면 모형이 좋아질지, 지금 과적합인지, 초모수는 어떤 값을 써야 하는지 알 수 있을까요?
The learning curve shows training and cross-validated scores as the training set grows: a large persistent gap signals high variance, and a validation score that is still rising signals that more data will help. The validation curve shows the same scores across values of one hyperparameter, locating the value where cross-validated performance peaks.
When to use Learning and Validation Curves
- You want to decide whether collecting more data is worthwhile.
- You suspect overfitting or underfitting and need a visual diagnosis.
- You want to see how sensitive performance is to one hyperparameter.
When to use something else
- You need to tune several hyperparameters jointly; use cross-validated grid or random search with nested cross-validation.
- You need an unbiased estimate of final performance; use a held-out test set or nested cross-validation.
Assumptions and requirements
- Cross-validation folds reflect the structure of the data (groups or time order).
- Training subsets are taken in fold order without reshuffling.
- The best hyperparameter score is slightly optimistic because it was chosen on the same folds.
What the analysis reports
- Training and cross-validated mean and SD at each training size
- Training and cross-validated mean and SD at each hyperparameter value
- Train–CV gap, gain over the last training size and a diagnosis
- Best hyperparameter value and its cross-validated score
- Line chart of the learning curve
How to report it
At the full training size of [value], the cross-validated [value] was [value] (training [value]); the validation curve for [value] peaked at [value] (cross-validated [value] = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 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 Learning and Validation Curves 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.