Recursive Feature Elimination with Cross-Validation
Recursive feature elimination with cross-validation repeatedly fits a model, removes the weakest features by coefficient size or importance, and selects the number of features with the best cross-validated score.
교차검증 재귀적 변수 제거는 모형을 반복 적합하며 계수나 중요도가 가장 약한 변수를 지우고 교차검증 점수가 가장 높은 변수 수를 고르는 방법입니다.
Which subset of my predictors gives the best cross-validated performance, and how many do I really need?
예측변수 중 어떤 조합이 교차검증 성능이 가장 좋고, 실제로 몇 개가 필요한가요?
Within each fold the model is refitted after dropping the least important features, so every subset size receives a cross-validated score and the best size is chosen from the resulting curve. The one-standard-error rule offers a smaller subset whose score is statistically indistinguishable from the best.
When to use Recursive Feature Elimination with Cross-Validation
- You have a moderate number of candidate predictors and want a compact model.
- You want a ranking of features based on repeated model fits rather than one fit.
- You need a curve of performance against the number of features.
When to use something else
- You need valid inference on the selected coefficients; use penalised regression with post-selection inference or a pre-specified model.
- Features are highly correlated and stability matters; use stability selection or Lasso with bootstrapping.
Assumptions and requirements
- The estimator's coefficients (on standardised features) or importances reflect feature relevance.
- Cross-validation folds respect clustering or time order when present.
- The selected score is optimistic because it was used for selection.
What the analysis reports
- Optimal number of features and selected feature list
- Feature ranking
- Cross-validated score for each subset size
- Subset size by the one-standard-error rule
- Line chart of score by number of features
How to report it
Recursive feature elimination with a [value] estimator and [value]-fold cross-validation retained [value] of [value] features (best cross-validated [value] = [value]); the one-standard-error rule selected [value] features.
Related methods
- Boruta Feature Selection Algorithm
- Lasso Regression
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 Recursive Feature Elimination with Cross-Validation 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.