| Literature DB >> 35005717 |
Xin Xiao1,2, Chaoyang Fang1,2, Hui Lin1,2, Li Liu1,3, Ya Tian1, Qinghua He1.
Abstract
In the Internet age, emotions exist in cyberspace and geospatial space, and social media is the mapping from geospatial space to cyberspace. However, most previous studies pay less attention to the multidimensional and spatiotemporal characteristics of emotion. We obtained 211,526 Sina Weibo data with geographic locations and trained an emotion classification model by combining the Bidirectional Encoder Representation from Transformers (BERT) model and a convolutional neural network to calculate the emotional tendency of each Weibo. Then, the topic of the hot spots in Nanchang City was detected through a word shift graph, and the temporal and spatial change characteristics of the Weibo emotions were analyzed at the grid-scale. The results of our research show that Weibo's overall emotion tendencies are mainly positive. The spatial distribution of the urban emotions is extremely uneven, and the hot spots of a single emotion are mainly distributed around the city. In general, the intensity of the temporal and spatial changes in emotions in the cities is relatively high. Specifically, from day to night, the city exhibits a pattern of high in the east and low in the west. From working days to weekends, the model exhibits a low center and a four-week high. These results reveal the temporal and spatial distribution characteristics of the Weibo emotions in the city and provide auxiliary support for analyzing the happiness of residents in the city and guiding urban management and planning.Entities:
Keywords: ESTDA; Social media; Urban emotions; User-generated content; Word shift graph
Year: 2022 PMID: 35005717 PMCID: PMC8724235 DOI: 10.1007/s43762-021-00030-x
Source DB: PubMed Journal: Comput Urban Sci ISSN: 2730-6852
Fig. 1Study area: Nanchang city. The red line indicates the first ring in Nanchang. Each gray point represents a Weibo check-in point
Fig. 2BERT-CNN model structure
Performance analysis of trained emotion classification model
| Confusion matrix | Evaluation metrics | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Happy | Angry | Sad | Fear | Surprise | Neutral | P | R | F | |
| Happy | 0.813 | 0.024 | 0.050 | 0.013 | 0.028 | 0.067 | 0.729 | 0.813 | 0.769 |
| Angry | 0.040 | 0.791 | 0.114 | 0.011 | 0.029 | 0.016 | 0.851 | 0.791 | 0.820 |
| Sad | 0.109 | 0.131 | 0.690 | 0.029 | 0.013 | 0.028 | 0.673 | 0.690 | 0.681 |
| Fear | 0.071 | 0.038 | 0.110 | 0.710 | 0.033 | 0.038 | 0.618 | 0.710 | 0.661 |
| Surprise | 0.150 | 0.112 | 0.048 | 0.072 | 0.586 | 0.032 | 0.648 | 0.586 | 0.615 |
| Neutral | 0.080 | 0.017 | 0.032 | 0.010 | 0.029 | 0.831 | 0.857 | 0.831 | 0.844 |
Results of emotion classification
| Happy | Angry | Sad | Fear | Surprise | Neutral | |
|---|---|---|---|---|---|---|
| count of Weibo | 65,766 | 37,876 | 54,984 | 1611 | 9073 | 42,216 |
| proportion | 28.84% | 16.61% | 24.09% | 0.71% | 3.98% | 18.51% |
Fig. 3Spatial clustering patterns of the six emotions
Fig. 4Word shift graphs of the Weibos in the happy emotion hot spots
Fig. 5Word shift graphs of the Weibos in the angry emotion hot spots
Fig. 6Word shift graphs of the Weibos in the sad emotion hot spots
Fig. 7Word shift graphs of the Weibos in the fear and surprise emotion hot spots
Fig. 8Spatial distribution of hot spots (cold spots) of emotional volatility. The left figure shows the hot spots of the relative length of the time path of emotions from day to night, and the right figure shows the hot spots of the relative length of the time path of emotions from weekday to weekend
The spatiotemporal transition of the LISA for the six emotions from day to night
| Emotion | I | II | III | IV(a) | IV(b) | SF | SC |
|---|---|---|---|---|---|---|---|
| Angry | 0.60 | 0.29 | 0.08 | 0.01 | 0.01 | 0.38 | 0.61 |
| Happy | 0.41 | 0.23 | 0.22 | 0.07 | 0.07 | 0.45 | 0.48 |
| Sad | 0.41 | 0.31 | 0.19 | 0.04 | 0.06 | 0.50 | 0.44 |
| Fear | 0.42 | 0.15 | 0.35 | 0.05 | 0.04 | 0.50 | 0.47 |
| Surprise | 0.43 | 0.24 | 0.20 | 0.06 | 0.07 | 0.43 | 0.49 |
| Neutral | 0.64 | 0.23 | 0.10 | 0.01 | 0.01 | 0.33 | 0.66 |
The spatiotemporal transition of the LISA for the six emotions from weekday to weekend
| Emotion | I | II | III | IV(a) | IV(b) | SF | SC |
|---|---|---|---|---|---|---|---|
| Angry | 0.51 | 0.24 | 0.16 | 0.07 | 0.03 | 0.40 | 0.57 |
| Happy | 0.34 | 0.22 | 0.28 | 0.07 | 0.09 | 0.50 | 0.41 |
| Sad | 0.44 | 0.23 | 0.21 | 0.05 | 0.08 | 0.43 | 0.49 |
| Fear | 0.50 | 0.14 | 0.30 | 0.01 | 0.05 | 0.44 | 0.51 |
| Surprise | 0.42 | 0.25 | 0.19 | 0.04 | 0.10 | 0.44 | 0.47 |
| Neutral | 0.66 | 0.23 | 0.09 | 0.02 | 0.01 | 0.32 | 0.68 |