Random Forest for Spatially Dependent Data (RF-GLS)
RF-GLS grows regression trees whose splits and leaf values minimise a generalised least squares loss under a spatial covariance, so correlated nearby observations are not counted as independent evidence. Predictions at new sites add kriging of the spatially correlated residual.
RF-GLS는 공간 공분산 아래의 일반화 최소제곱 손실로 분할과 잎 값을 정하는 회귀나무를 키워, 서로 가까워 상관된 관측을 독립된 증거로 세지 않습니다. 새 지점의 예측에는 공간 상관 잔차의 크리깅을 더합니다.
I want to predict soil carbon at new field plots from terrain covariates, but nearby plots are correlated. Does a spatially aware forest predict better than an ordinary one?
지형 공변량으로 새 조사구의 토양 탄소를 예측하려는데 가까운 조사구끼리 상관이 있습니다. 공간을 고려한 숲이 일반 랜덤 포레스트보다 잘 예측합니까?
The method returns the estimated working covariance (variance, range, nugget) and hold-out prediction errors for RF-GLS with and without kriging, compared with an ordinary random forest with and without residual kriging.
When to use Random Forest for Spatially Dependent Data (RF-GLS)
- Continuous outcome at point locations with spatially correlated errors
- Covariate effects may be nonlinear or interacting
- Prediction at new locations is the goal
When to use something else
- Effects are expected to be linear and inference on them is wanted: use Spatial Error Model
- No coordinates or no spatial dependence: use Random Forest
- Counts or proportions at sites: use Spatial Generalized Linear Mixed Model with a Matern Gaussian Field (Laplace Likelihood)
Assumptions and requirements
- Additive mean function plus a stationary exponential Gaussian process with nugget
- Working covariance estimated well enough from preliminary residuals
- Hold-out sites representative of prediction sites
What the analysis reports
- Working covariance parameters
- Hold-out RMSE and R2 for RF-GLS and comparison models
- Forest settings and seed
How to report it
An RF-GLS forest ([value] trees) with an exponential working covariance (range [value] km) gave hold-out RMSE [value] with kriging, against [value] for an ordinary random forest.
Related methods
- Random Forest
- Gaussian Process Regression
- Spatial Error Model
- Spatial Generalized Linear Mixed Model with a Matern Gaussian Field (Laplace Likelihood)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-8.
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-8).
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 Random Forest for Spatially Dependent Data (RF-GLS) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns, lat and lon
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.