# A GIS-Based Hot and Cold Spots Detection Method by Extracting Emotions from Social Streams
## 4 Test and Results

Table 2: Relevance of pleasant emotional categories in the year 2020. \begin{table}
\begin{tabular}{l 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.05 & 0.95 & 0.00 & 0.00 & 0.00 & Medium \\
**Afragola** & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & **1.00** & 0.40 & **High** \\ Arzano & 0.00 & 0.00 & 0.00 & 0.60 & 0.40 & 0.00 & 0.00 & Medium \\ Brusciano & 0.00 & 0.00 & 0.35 & 0.65 & 0.00 & 0.00 & 0.00 & Medium \\
**Caivano** & 0.00 & 0.00 & 0.00 & 0.00 & **1.00** & 0.30 & **High** \\ Cardito & 0.00 & 0.00 & 0.00 & 0.80 & 0.20 & 0.00 & 0.00 & Medium \\ Casalnuovo di Napoli & 0.00 & 0.00 & 0.15 & 0.85 & 0.00 & 0.00 & 0.00 & Medium \\
**Casandrino** & 0.00 & 0.00 & 0.00 & 0.00 & **0.80** & 0.20 & 0.00 & **Medium high** \\
**Casavatore** & 0.00 & 0.00 & 0.00 & 0.40 & **0.60** & 0.00 & 0.00 & **Medium high** \\
**Casoria** & 0.00 & 0.00 & 0.00 & 0.00 & 0.10 & **0.90** & 0.00 & **High** \\ Castello di Cisterna & 0.00 & 0.00 & 0.65 & 0.35 & 0.00 & 0.00 & 0.00 & Medium low \\ Crispano & 0.00 & 0.00 & 0.20 & 0.80 & 0.00 & 0.00 & 0.00 & Medium \\ Frattamaggiore & 0.00 & 0.00 & 0.00 & 0.70 & 0.30 & 0.00 & 0.00 & Medium \\ Frattaminore & 0.00 & 0.00 & 0.25 & 0.75 & 0.00 & 0.00 & 0.00 & Medium \\ Grumo Nevano & 0.00 & 0.00 & 0.00 & 0.70 & 0.30 & 0.00 & 0.00 & Medium \\
**Melito di Napoli** & 0.00 & 0.00 & 0.00 & 0.40 & **0.60** & 0.00 & 0.00 & **Medium high** \\ Pomigliano d’Arco & 0.00 & 0.00 & 0.00 & 0.60 & 0.40 & 0.00 & 0.00 & Medium \\ Sant’Antimo & 0.00 & 0.00 & 0.10 & 0.90 & 0.00 & 0.00 & 0.00 & Medium \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Relevance of unpleasant emotional categories in the year 2020. The detailed results for the pleasant and unpleasant emotion relevance are shown, respectively, in Tables 4 and 5, where, for each municipality, are shown the membership degrees to each fuzzy set. Table 4 shows that the municipalities Brusciano and Castello di Cisterna belong to the pleasant relevance class Medium high with membership degrees of 0.5 and 0.9, respectively. All other municipalities belong to the pleasant relevance classes Medium or Medium low. Table 5 shows that the municipalities Afragola, Caivano, Casandrino, and Casoria belong to the unpleasant class High with membership degrees of 1.0, 1.0, 0.5, and 1.0, respectively. The municipalities Cardito, Casavatore, Frattamaggione, Melito di Napoli, Pomigliano d'Arco, and Sant'Antimo, belong to the unpleasant class Medium high with membership degrees of 0.5, 0.9, 0.6, 0.8, 0.7, and 0.5, respectively. All other municipalities belong to the pleasant relevance classes Medium or Medium low. Analyzing the results in Tables 4 and 5, showing the pleasant and unpleasant emotion relevance assigned in the year 2021 to each municipality, detected the presence of the areas of comfort and discomfort felt by citizens observed in 2020. Figure 8 shows the thematic maps of the pleasant (Figure 8a) and unpleasant (Figure 8b) emotion categories' relevance measured in 2022. The pleasant emotion relevance thematic map shows that in 2022 the municipalities of Brusciano and Castello di Cisterna are those in which pleasant emotional feelings prevailed, with the relevance of the pleasant emotion being Medium-high. The unpleasant emotion relevance thematic map shows that in 2022 the municipalities in which unpleasant emotion prevail are Caivano, Afragola, Casoria, and Casandrino, with High relevance, and Acerra, Cardito, Casavatore, Frattamaggione, Grumo Nevano, Melito di Napoli, and Pomigliano d'Arco with Medium high relevance. The detailed results for the pleasant and unpleasant emotion relevance are shown, respectively, in Tables 6 and 7, where, for each municipality, the membership degrees to each fuzzy set are shown. Table 6 shows that the municipalities Brusciano and Castello di Cisterna belong to the pleasant relevance class Medium high with membership degrees of 0.6 and 1.0, respectively.