# A GIS-Based Hot and Cold Spots Detection Method by Extracting Emotions from Social Streams
## 4 Test and Results
All other municipalities are assigned a pleasant relevance class Low, Medium low, or Medium. Table 7 shows that the municipalities Afragola, Caivano, Casandrino, and Casoria belong to the unpleasant relevance class High with membership degrees of 1.0, 1.0, 0.8, and \begin{table}
\begin{tabular}{l c c c c c c c c} \hline \hline
**Municipality** & **Very Low** & **Low** & **Medium Low** & **Medium** & **Medium High** & **High** & **Very High** & **Relevance** \\ \hline Acerra & 0.00 & 0.00 & 0.00 & 0.80 & 0.20 & 0.00 & 0.00 & Medium \\
**Afragola** & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & **1.00** & 0.70 & **High** \\ Arzano & 0.00 & 0.00 & 0.00 & 0.60 & 0.40 & 0.00 & 0.00 & Medium \\ Brusciano & 0.00 & 0.00 & 0.25 & 0.75 & 0.00 & 0.00 & 0.00 & Medium \\
**Caivano** & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & **1.00** & 0.50 & **High** \\
**Cardito** & 0.00 & 0.00 & 0.00 & **0.50** & 0.50 & 0.00 & 0.00 & **Medium high** \\
**Casalnuovo di Napoli** & 0.00 & 0.00 & 0.00 & 0.70 & 0.30 & 0.00 & 0.00 & Medium \\
**Casandrino** & 0.00 & 0.00 & 0.00 & 0.00 & 0.50 & **0.50** & 0.00 & **High** \\
**Casavatore** & 0.00 & 0.00 & 0.00 & 0.10 & **0.90** & 0.00 & 0.00 & **Medium high** \\
**Casoria** & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & **1.00** & 0.10 & **High** \\ Casello di Cisterna & 0.00 & 0.00 & 0.55 & 0.45 & 0.00 & 0.00 & 0.00 & Medium low \\ Crispano & 0.00 & 0.00 & 0.00 & 1.00 & 0.00 & 0.00 & 0.00 & Medium \\
**Frattamaggione** & 0.00 & 0.00 & 0.00 & 0.40 & **0.60** & 0.00 & 0.00 & **Medium high** \\ Frattaminore & 0.00 & 0.00 & 0.15 & 0.85 & 0.00 & 0.00 & 0.00 & Medium \\ Grumo Nevano & 0.00 & 0.00 & 0.00 & 0.60 & 0.40 & 0.00 & 0.00 & Medium \\
**Melito di Napoli** & 0.00 & 0.00 & 0.00 & 0.00 & **0.80** & 0.20 & 0.00 & **Medium high** \\
**Pomigliano d’Arco** & 0.00 & 0.00 & 0.00 & 0.30 & **0.70** & 0.00 & 0.00 & **Medium high** \\
**Sant’Antimo** & 0.00 & 0.00 & 0.00 & 0.50 & **0.50** & 0.00 & 0.00 & **Medium high** \\ \hline \hline \end{tabular}
\end{table} 
Table 5: Relevance of unpleasant emotional categories in the year 2021. Figure 8: Pleasant and unpleasant emotion relevance thematic maps in 2022. (**a**) Pleasant emotion relevance. (**b**) Unpleasant emotion relevance. 1.0, respectively. The municipalities Melito di Napoli, Grumo Nevano, Cardito, Frattamaggiore, Casavatore, Acerra, and Pomigliano d'Arco belong to the unpleasant relevance class Medium high with membership degrees of 0.5, 0.8, 0.8, 0.5, 0.6, 0.9, and 1.0, respectively. The unpleasant relevance class Medium is assigned to all other municipalities. Also, in 2022, the two areas of high comfort and high discomfort felt by citizens are the areas including the municipalities of Brusciano and Castello di Cisterna, the central area, and the southwest area covering the municipalities of Casandrino, Grumo Nevano, and Melito di Napoli. To detect hot and cold spots, we annotate as a cold or hot spot a municipality classified with pleasant or unpleasant relevance classes of Medium high, High, or Very high in all three consecutive years 2020, 2021, and 2022. The thematic map in Figure 9 shows the hot and cold spots detected in the study area.