Spatial block cross-validation
Evaluates the forest on folds formed from spatial clusters of the coordinates, with fold-wise permutation importance.
공간 블록 교차검증 — 좌표를 공간 군집으로 묶어 폴드를 만들고 랜덤 포레스트를 평가하며, 폴드마다 순열 중요도를 구합니다.
Runs Random Forest with: spatial cv set to “kmeans”.
기본 방법(Random Forest)에 다음 설정을 고정해 실행합니다: spatial cv = kmeans.
My soil sample points are clustered in space; how do I check a random forest's accuracy at new locations?
토양 표본 지점이 공간적으로 몰려 있는데, 새 위치에서의 랜덤 포레스트 정확도를 어떻게 확인하나요?
Coordinates are grouped into spatial clusters that serve as folds, so test points lie away from training points, and permutation importance is computed within each fold. Behind it is Random Forest with spatial_cv = kmeans already set, and you still give coords; checks and report are the same as for Random Forest.
When to use Spatial block cross-validation
- Nearby observations are similar, so random folds would overstate accuracy.
- The model will predict for areas without samples.
When to use something else
- Predictions will only be made inside the sampled area at a similar density; random cross-validation is fair then.
- 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.
- coords
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
- 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.