Class-subspace learning: a SHAP-driven framework for class-aware transportation mode detection
Abstract Accurate transportation mode detection (TMD) from mobile crowdsourced data is fundamental for effective urban planning, yet it presents significant analytical challenges. The ubiquity of GPS-enabled devices has enabled the development of machine learning models for this task. However, these models conventionally apply a single, globally selected feature set uniformly across all transportation modes, which can mask the distinct feature requirements of individual classes. This study introduces a class-aware classification framework that represents each transportation mode through its own SHAP-derived feature subspace, capturing mode-specific feature relevance within a single unified model. We evaluate the framework using two real-world GPS trajectory datasets, employing thorough preprocessing and spatial filtering. We enrich the feature space by extracting time-domain characteristics and frequency-domain features obtained using the Fast Fourier Transform. The proposed framework achieves weighted ROC–AUC scores of up to 78.8% and 89.5% on the respective datasets, performing comparably to established global feature selection baselines while additionally exposing the distinct discriminative feature signatures of each transportation mode. These findings indicate that class-aware modelling offers a promising and interpretable alternative to globally optimised strategies and merits further investigation within broader multi-class classification settings.
Authors
- Akilu Rilwan Muhammad (ORCID: https://orcid.org/0000-0002-7997-2181)
- Ana Aguiar
- João Mendes-Moreira
Institutions
- Universidade do Porto (PT)
- Instituto de Telecomunicações (PT)
- INESC TEC (PT)
Publication Details
- Journal
- International Journal of Data Science and Analytics
- Published
- 2026-09-17
- DOI
- https://doi.org/10.1007/s41060-026-01263-x
- Primary Topic
- Human Mobility and Location-Based Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- European Commission
- Fundação para a Ciência e a Tecnologia