Leave-location-and-time-out cross-validation
Holds out location and time groups together so neither is shared between training and test data.
위치·시점 제외 교차검증 — 위치와 시점 집단을 함께 빼서, 학습 자료와 시험 자료가 어느 쪽도 공유하지 않게 합니다.
Runs Random Forest with: spatial cv set to “llto”.
기본 방법(Random Forest)에 다음 설정을 고정해 실행합니다: spatial cv = llto.
We have sensor readings from 40 stations over 10 years; how accurate is the model for a new station in a new year?
관측소 40곳의 10년치 자료가 있는데, 새 관측소의 새 연도에 대해 모형이 얼마나 정확한가요?
Each fold holds out a group of locations and a group of time periods, and records that share either with the test fold are dropped from training. Behind it is Random Forest with spatial_cv = llto already set, and you still give location; time_col; checks and report are the same as for Random Forest.
When to use Leave-location-and-time-out cross-validation
- Data come from repeated measurements at fixed locations over time.
- You want accuracy for unseen places and periods together.
When to use something else
- You will predict only for new years at known stations; leaving out time alone fits that goal.
- You want to try other settings side by side; open Random Forest and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
- location
- time col
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
- Random Forest with Group-Wise Cross-Validation
- Bagged Decision Trees
- Extremely Randomised Trees
- Spatial block 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.