IDEAS home Printed from https://ideas.repec.org/a/kap/jgeosy/v27y2025i2d10.1007_s10109-025-00465-4.html
   My bibliography  Save this article

Geographical-XGBoost: a new ensemble model for spatially local regression based on gradient-boosted trees

Author

Listed:
  • George Grekousis

    (Sun Yat-sen University
    Sun Yat-sen University
    Sun Yat-sen University)

Abstract

XGBoost is a widely used machine learning method known for exhibiting high accuracies in regression and classification tasks. Current efforts to create spatial versions of XGBoost do not alter the original XGBoost algorithm; nor do they implement any geographical modification. Here, we fill these gaps by introducing Geographical-XGBoost (G-XGBoost), which extends XGBoost in multiple ways. First, G-XGBoost creates local models by assigning spatial weights linked directly to the model’s accuracy by focusing on the samples that cause the most error. Second, it applies ensemble architecture, by combining the global and local models, for training, validation, and prediction, which improves model accuracy. Third, G-XGBoost calculates local feature importance using spatial weights, something not proposed so far. We evaluate G-XGBoost on six benchmark datasets against three global regression models (Ordinary Least Squares, Random Forests, and XGBoost) and three spatially local regression models (Geographically Weighted Regression, Geographical Random Forests, and Geographically Weighted Random Forests). G-XGBoost outperforms all existing models improving R2 by 17.44% and mean absolute error by 17.42%, on bootstrapped mean values. G-XGBoost is also an exploratory tool as it analyzes how feature importance varies in space, contributing thus to the need for interpretable and explainable AI, and therefore, it can further advance spatial machine learning application to geographical studies.

Suggested Citation

  • George Grekousis, 2025. "Geographical-XGBoost: a new ensemble model for spatially local regression based on gradient-boosted trees," Journal of Geographical Systems, Springer, vol. 27(2), pages 169-195, April.
  • Handle: RePEc:kap:jgeosy:v:27:y:2025:i:2:d:10.1007_s10109-025-00465-4
    DOI: 10.1007/s10109-025-00465-4
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10109-025-00465-4
    File Function: Abstract
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1007/s10109-025-00465-4?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Keywords

    Spatial machine learning; Spatially local regression; XGBoost; Benchmark datasets;
    All these keywords.

    JEL classification:

    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • C18 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Methodolical Issues: General
    • C21 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Cross-Sectional Models; Spatial Models; Treatment Effect Models
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:kap:jgeosy:v:27:y:2025:i:2:d:10.1007_s10109-025-00465-4. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.