PyGALAX: An Open-Source Python Toolkit for Advanced Explainable Geospatial Machine Learning

Pingping Wang, Yihong Yuan, Lingcheng Li, Yongmei Lu
1/31/2026
cs.LG

No confident code implementation found for this paper.

Abstract

PyGALAX is a Python package for geospatial analysis that integrates automated machine learning (AutoML) and explainable artificial intelligence (XAI) techniques to analyze spatial heterogeneity in both regression and classification tasks. It automatically selects and optimizes machine learning models for different geographic locations and contexts while maintaining interpretability through SHAP (SHapley Additive exPlanations) analysis. PyGALAX builds upon and improves the GALAX framework (Geospatial Analysis Leveraging AutoML and eXplainable AI), which has proven to outperform traditional geographically weighted regression (GWR) methods. Critical enhancements in PyGALAX from the original GALAX framework include automatic bandwidth selection and flexible kernel function selection, providing greater flexibility and robustness for spatial modeling across diverse datasets and research questions. PyGALAX not only inherits all the functionalities of the original GALAX framework but also packages them into an accessible, reproducible, and easily deployable Python toolkit while providing additional options for spatial modeling. It effectively addresses spatial non-stationarity and generates transparent insights into complex spatial relationships at both global and local scales, making advanced geospatial machine learning methods accessible to researchers and practitioners in geography, urban planning, environmental science, and related fields.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026pygalax,
  title  = {PyGALAX: An Open-Source Python Toolkit for Advanced Explainable Geospatial Machine Learning},
  author = {Pingping Wang and Yihong Yuan and Lingcheng Li and Yongmei Lu},
  year   = {2026},
  eprint = {2602.00907},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.00907v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.00907.svg)](https://codeofpaper.com/paper/2602.00907)

Discussion