IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v18y2026i5p2217-d1871307.html

Predicting Net Primary Productivity Using Geographically Weighted Machine Learning: A Comparative Study in the Eastern Sahel

Author

Listed:
  • Kopano Letsela

    (School of Statistics and Actuarial Science, University of the Witwatersrand, Braamfontein, Johannesburg 2000, South Africa)

  • Farai Mlambo

    (School of Statistics and Actuarial Science, University of the Witwatersrand, Braamfontein, Johannesburg 2000, South Africa
    Wits Business School, University of the Witwatersrand, Parktown, Johannesburg 2193, South Africa)

  • Elhadi Adam

    (School of Geography, Archaeology and Environmental Studies, University of the Witwatersrand, Braamfontein, Johannesburg 2000, South Africa)

Abstract

Net Primary Productivity (NPP) is a vital ecological indicator used to monitor land productivity and the health of ecosystems, particularly in climate-sensitive areas like the Eastern Sahel. However, the spatial heterogeneity in the relationships between NPP and environmental factors complicates accurate predictions. This research aimed to evaluate the effectiveness of geographically weighted statistical and machine learning models in predicting NPP, while considering spatial non-stationarity and non-linear interactions. The study used 939 spatial observations of the NPP in conjunction with four environmental predictors: rainfall, temperature, soil moisture, and elevation, spanning Niger, Chad, and Sudan. Initially, a global Ordinary Least Squares (OLS) model was used as a reference point. Subsequently, three geographically weighted models, Geographically Weighted Regression (GWR), Geographically Weighted Random Forest (GWRF) and Geographically Weighted Neural Network (GWNN) were executed to account for spatial variability and non-linear effects. The performance of the models was assessed using R 2 , Mean Absolute Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and spatial residual diagnostics. All geographically weighted models outperformed the global OLS baseline in terms of both predictive accuracy and spatial sensitivity. GWNN achieved the highest performance ( R 2 = 0.9360; RMSE = 0.0333), followed closely by GWRF ( R 2 = 0.9308) and GWR ( R 2 = 0.9207), compared to OLS ( R 2 = 0.8354). The residual spatial autocorrelation was completely resolved in GWNN and GWRF. Rainfall was consistently the most significant predictor, while the effects of other variables, such as elevation and temperature, varied between different spatial contexts. The findings of this research emphasise the value of combining spatial weighting with machine learning methodologies to model ecological productivity in heterogeneous landscapes. The GWNN model, in particular, stands out as a powerful tool for improving NPP predictions in regions sensitive to climate change.

Suggested Citation

  • Kopano Letsela & Farai Mlambo & Elhadi Adam, 2026. "Predicting Net Primary Productivity Using Geographically Weighted Machine Learning: A Comparative Study in the Eastern Sahel," Sustainability, MDPI, vol. 18(5), pages 1-22, February.
  • Handle: RePEc:gam:jsusta:v:18:y:2026:i:5:p:2217-:d:1871307
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/18/5/2217/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/18/5/2217/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    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:gam:jsusta:v:18:y:2026:i:5:p:2217-:d:1871307. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.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.