SoftwareX (May 2024)

SpatialCluster: A Python library for urban clustering

  • Axel Reyes,
  • Marcelo Mendoza,
  • Camila Vera,
  • Francesca Lucchini,
  • Jan Dimter,
  • Felipe Gutiérrez,
  • Naim Bro,
  • Hans Lobel,
  • Ariel Reyes

Journal volume & issue
Vol. 26
p. 101739

Abstract

Read online

This paper introduces SpatialCluster, a Python library developed for clustering urban areas using geolocated data. The library integrates a range of methods for urban clustering, including Deep Modularity Networks, Gaussian Mixtures, K-Nearest Neighbours, Self Organized Maps, and Information-Theoretic Clustering, providing a comprehensive framework. These methods are evaluated using indices such as the Adjusted Rand Index and Adjusted Mutual Information, and the library includes features for detailed map visualization. SpatialCluster’s online documentation offers examples, making the library accessible to researchers and urban planners. The library aims to facilitate urban data analysis and contribute to the field of urban studies.

Keywords