Random Forest with Group-Wise Cross-Validation
Random forest evaluated with group-wise cross-validation, using a group column you name so rows from the same group never fall in both training and test folds.
집단별 교차검증 랜덤 포레스트 — 같은 집단의 행이 학습·검증 폴드에 함께 들어가지 않도록 지정한 집단 열로 집단별 교차검증을 하는 랜덤 포레스트입니다.
Runs Random Forest with: .
기본 방법(Random Forest)에 다음 설정을 고정해 실행합니다: .
Several rows come from the same patient; how do I avoid leaking information between folds?
한 환자에게서 여러 행이 나오는데, 폴드 사이 정보 누설을 어떻게 막나요?
Grouped folds give an honest estimate of performance on new groups. It runs Random Forest with cluster (group column) supplied as an extra input; checks and report follow Random Forest.
When to use Random Forest with Group-Wise Cross-Validation
- Repeated measurements per subject, site or batch.
- You want performance on unseen groups.
When to use something else
- Rows are independent; ordinary cross-validation is fine.
- You have nothing to give for cluster; Random Forest runs without it.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
- cluster role (group column)
Assumptions and requirements
The same as for Random Forest:
- Enough observations for the number of features
- Reasonable choice of trees, features per split and tree depth
- Class imbalance handled with weighting or resampling
- Evaluation on held-out or out-of-bag data
What the analysis reports
The output of Random Forest, with the preset shown in the settings:
- Out-of-bag error or cross-validated accuracy, AUC or RMSE
- Variable importance (impurity or permutation)
- Confusion matrix for classification
- Partial dependence plots
- Algorithm choice: random forest (default), extremely randomised trees (Extra Trees) or plain bagged decision trees, all with 300 trees and the same cross-validation
How this is validated
검증 근거
This variant runs the same engine as Random Forest with the settings above fixed, so the evidence is that method’s: report tables cross-checked against r; no reference comparison of the main estimates yet. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Random Forest와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Random Forest
- Bagged Decision Trees
- Extremely Randomised Trees
- Spatial block cross-validation
- Leave-location-and-time-out cross-validation
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Random Forest: 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
- Report tables cross-checked against R; no reference comparison of the main estimates yet, as recorded for Random Forest (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.