ArticleFrontiers in public health2026
Quantifying and mapping uncertainty in urban sentiment prediction: a combined approach with entropy and SHAP explanations.
Article in Frontiers in public health, 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.
What it found
Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.
The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.
The trial behind it
Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.
Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.
Who cites it
0 citing papers in PubMed.
No citing paper in PubMed yet.
Corrections and comments
PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.
Authors and funding
4 authors.
Funding
No grant is acknowledged in the PubMed record.
Abstract
Introduction: Mental health issues have been increasing globally, possibly linked to urbaniza¬tion and related lifestyles. There's a growing awareness that different aspects of the urban environment can influence mental health, either enabling or restrict¬ing behaviors that affect well-being. Recent studies have increasingly used social media data and machine learning techniques to assess urban well-being. However, these approaches often lack interpretability and do not explicitly account for prediction uncertainty, limiting their reliability for spatial decision-making. Methods: This study uses sentiment labels derived from georeferenced posts on X (formerly Twitter) via the NRC Emotion Lexicon. Supervised machine learning models are trained to predict sentiment based on urban environmental variables and generate spatial predictions for Lisbon, with performance compared across K-Nearest Neighbour (KNN), Random Forest (RF), Extreme Gradient Boosting (XGBoost), and Neural Network (NN). To go beyond simple point predictions, uncertainty at each location is measured with Shannon Entropy, based on class probabilities. Post-hoc explanations using SHapley Additive exPlanations (SHAP) identify urban features most impacting sentiment predictions. Results and discussion: Uncertainty maps combined with SHAP outputs show where interpretations are more reliable (low uncertainty) and where caution is needed (high uncertainty). In Lisbon 2019, SHAP identified proximity to cycling networks, fitness facilities, and NDVI as key factors influencing sentiment. This framework enhances spatial understanding of sentiment-environment relationships and offers a transparent way to identify areas where predictions are more reliable.
Indexed as
Identifiers
What OpenQuestion holds
Registered trials
Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.