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.

    References listed on IDEAS

    as
    1. Daniel A. Griffith, 2004. "Distributional properties of georeferenced random variables based on the eigenfunction spatial filter," Journal of Geographical Systems, Springer, vol. 6(3), pages 263-288, October.
    2. Kelley Pace, R. & Barry, Ronald, 1997. "Sparse spatial autoregressions," Statistics & Probability Letters, Elsevier, vol. 33(3), pages 291-297, May.
    3. Pace, R Kelley & Gilley, Otis W, 1997. "Using the Spatial Configuration of the Data to Improve Estimation," The Journal of Real Estate Finance and Economics, Springer, vol. 14(3), pages 333-340, May.
    4. Daniel A. Griffith & Manfred M. Fischer, 2016. "Constrained Variants of the Gravity Model and Spatial Dependence: Model Specification and Estimation Issues," Advances in Spatial Science, in: Roberto Patuelli & Giuseppe Arbia (ed.), Spatial Econometric Interaction Modelling, chapter 0, pages 37-66, Springer.
    5. Daniel Griffith, 2006. "Hidden negative spatial autocorrelation," Journal of Geographical Systems, Springer, vol. 8(4), pages 335-355, October.
    6. Aynaz Lotfata & Stefanos Georganos, 2024. "Spatial machine learning for predicting physical inactivity prevalence from socioecological determinants in Chicago, Illinois, USA," Journal of Geographical Systems, Springer, vol. 26(4), pages 461-481, October.
    7. Meysam Effati & Jean-Claude Thill & Shahin Shabani, 2015. "Geospatial and machine learning techniques for wicked social science problems: analysis of crash severity on a regional highway corridor," Journal of Geographical Systems, Springer, vol. 17(2), pages 107-135, April.
    8. Kevin Credit, 2024. "Introduction to the special issue on spatial machine learning," Journal of Geographical Systems, Springer, vol. 26(4), pages 451-460, October.
    9. Aynaz Lotfata & George Grekousis & Ruoyu Wang, 2023. "Using geographical random forest models to explore spatial patterns in the neighborhood determinants of hypertension prevalence across chicago, illinois, USA," Environment and Planning B, , vol. 50(9), pages 2376-2393, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Steven Bourassa & Eva Cantoni & Martin Hoesli, 2007. "Spatial Dependence, Housing Submarkets, and House Price Prediction," The Journal of Real Estate Finance and Economics, Springer, vol. 35(2), pages 143-160, August.
    2. Daisuke Murakami & Daniel Griffith, 2015. "Random effects specifications in eigenvector spatial filtering: a simulation study," Journal of Geographical Systems, Springer, vol. 17(4), pages 311-331, October.
    3. LE GALLO, Julie, 2000. "Econométrie spatiale 1 -Autocorrélation spatiale," LATEC - Document de travail - Economie (1991-2003) 2000-05, LATEC, Laboratoire d'Analyse et des Techniques EConomiques, CNRS UMR 5118, Université de Bourgogne.
    4. Palmquist, Raymond B., 2006. "Property Value Models," Handbook of Environmental Economics, in: K. G. Mäler & J. R. Vincent (ed.), Handbook of Environmental Economics, edition 1, volume 2, chapter 16, pages 763-819, Elsevier.
    5. Fumihiro Yamane & Hideaki Ohgaki & Kota Asano, 2013. "The Immediate Impact of the Fukushima Daiichi Accident on Local Property Values," Risk Analysis, John Wiley & Sons, vol. 33(11), pages 2023-2040, November.
    6. Sandy Fréret & Denis Maguain, 2017. "The effects of agglomeration on tax competition: evidence from a two-regime spatial panel model on French data," International Tax and Public Finance, Springer;International Institute of Public Finance, vol. 24(6), pages 1100-1140, December.
    7. Daniel A. Griffith & Manfred M. Fischer & James LeSage, 2017. "The spatial autocorrelation problem in spatial interaction modelling: a comparison of two common solutions," Letters in Spatial and Resource Sciences, Springer, vol. 10(1), pages 75-86, March.
    8. Juergen Deppner & Marcelo Cajias, 2024. "Accounting for Spatial Autocorrelation in Algorithm-Driven Hedonic Models: A Spatial Cross-Validation Approach," The Journal of Real Estate Finance and Economics, Springer, vol. 68(2), pages 235-273, February.
    9. Damian Przekop, 2022. "Artificial Neural Networks vs Spatial Regression Approach in Property Valuation," Central European Journal of Economic Modelling and Econometrics, Central European Journal of Economic Modelling and Econometrics, vol. 14(2), pages 199-223, June.
    10. Alexandre Xavier Ywata Carvalho & Pedro Henrique Melo Albuquerque & Gilberto Rezende de Almeida Junior & Rafael Dantas Guimarães & Camilo Rey Laureto, 2009. "Clusterização Hierárquica Espacial com Atributos Binários," Discussion Papers 1428, Instituto de Pesquisa Econômica Aplicada - IPEA.
    11. S. Wong & C. Yiu & K. Chau, 2013. "Trading Volume-Induced Spatial Autocorrelation in Real Estate Prices," The Journal of Real Estate Finance and Economics, Springer, vol. 46(4), pages 596-608, May.
    12. Lavado, Rouselle F. & Barrios, Erniel B., 2010. "Spatial Stochastic Frontier Models," Discussion Papers DP 2010-08, Philippine Institute for Development Studies.
    13. David Brasington & Don Haurin, 2005. "Capitalization of Parent, School, and Peer Group Components of School Quality into House Price," Departmental Working Papers 2005-04, Department of Economics, Louisiana State University.
    14. Daniel A. Griffith & Yongwan Chun & Jan Hauke, 2022. "A Moran eigenvector spatial filtering specification of entropy measures," Papers in Regional Science, Wiley Blackwell, vol. 101(1), pages 259-279, February.
    15. Aurélien Fichet de Clairfontaine & Manfred Fischer & Rafael Lata & Manfred Paier, 2015. "Barriers to cross-region research and development collaborations in Europe: evidence from the fifth European Framework Programme," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 54(2), pages 577-590, March.
    16. Umberto Amato & Anestis Antoniadis & Italia De Feis & Irene Gijbels, 2021. "Penalised robust estimators for sparse and high-dimensional linear models," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 30(1), pages 1-48, March.
    17. Tizheng Li & Xiaojuan Kang, 2022. "Variable selection of higher-order partially linear spatial autoregressive model with a diverging number of parameters," Statistical Papers, Springer, vol. 63(1), pages 243-285, February.
    18. David Maddison, 2009. "A Spatio‐temporal Model of Farmland Values," Journal of Agricultural Economics, Wiley Blackwell, vol. 60(1), pages 171-189, February.
    19. Raymond Y. C. Tse, 2002. "Estimating Neighbourhood Effects in House Prices: Towards a New Hedonic Model Approach," Urban Studies, Urban Studies Journal Limited, vol. 39(7), pages 1165-1180, June.
    20. Oshan, Taylor M., 2022. "Spatial Interaction Modeling," OSF Preprints m3ah8, Center for Open Science.

    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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.