RUemo—The Classification Framework for Russia-Ukraine War-Related Societal Emotions on Twitter through Machine Learning
<p>RUemo—RUW emotions classification framework’s high-level view.</p> "> Figure 2
<p>The most liked and retweeted post on Twitter among all collected tweets.</p> "> Figure 3
<p>Distribution of the tweet length—number of characters in the tweets.</p> "> Figure 4
<p>Distribution of tweets according to tweet type:original tweet, retweet, and reply tweet.</p> "> Figure 5
<p>Word cloud of most buzzed words among the collected RUW tweets.</p> "> Figure 6
<p>Distribution of 27 emotions according to the number of tweet count after emotion extraction from Emoroberta.</p> ">
Abstract
:1. Introduction
1.1. Tracing Russia-Ukraine Relations
1.2. Objective
1.3. Gist of the Proposed Framework
1.4. Novelty and Contributions
- The proposed approach extends the sparse literature on the RUW by providing insights into societal emotions. This helps government officials and war analysts to understand the public overview of the war which further fosters action to draft appropriate guidelines and regulations related to the RUW.
- Practically, the proposed framework can be utilized to automatize similar text classification-related tasks such as online spam and misinformation detection.
- Noticeably, the research community is facing the challenge of a paucity of labeled datasets for the classification task and supervised ML task. The proposed framework has the potential to label any textual document-based data in terms of providing 27 distinct emotion categories for the classification task.
- Methodologically, this work emphasizes using byte-level BPE encoding and Emoroberta for extracting the emotions from the text to further classify. This will open the doors for existing researchers to implement state-of-the-art revolutionary encoding and emotion analysis techniques.
2. Literature Review
2.1. RUW and Global Impact
2.2. Social Media Analysis
2.3. The RUW and Twitter
3. Methodology
3.1. Data Collection and Preprocessing
3.2. Byte-Level Byte Pair Encoding (BBPE)
3.3. Emotion Extraction through Emoroberta
3.4. Label Encoding and Feature Extraction
3.5. ML Classifiers
3.6. Evaluation Measures
4. Results and Discussion
4.1. Phase 1
4.2. Phase 2
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Statistia GDP Growth Forecast Change Due to Ukraine War by Country 2022—Statista. Available online: https://www.statista.com/statistics/1321519/gdp-growth-forecast-change-due-to-ukraine-war-by-country/ (accessed on 13 December 2022).
- Wolff, A.T. The Future of NATO Enlargement after the Ukraine Crisis. Int. Aff. 2015, 91, 1103–1121. [Google Scholar] [CrossRef]
- Donaldson, R.H. The Role of NATO Enlargement in the Ukraine Crisis. Sov. Post-Soviet Rev. 2017, 44, 32–52. [Google Scholar] [CrossRef]
- Klotz, M. Russia and the Ukrainian Crisis: A Multiperspective Analysis of Russian Behaviour, by Taking into Account NATO’s and the EU’s Enlargement. Croat. Int. Relat. Rev. 2017, 23, 259–287. [Google Scholar] [CrossRef] [Green Version]
- Usmission About NATO—U.S. Mission to the North Atlantic Treaty Organization. Available online: https://nato.usmission.gov/about-nato/ (accessed on 13 December 2022).
- Cebotari, S.; Guctu, I. The Russia-Ukraine War. Causes of Emergence. Relat. Int. Plus 2022, 21, 89–96. [Google Scholar] [CrossRef]
- Kusa, I. Russia-Ukraine War. Policy Perspect. 2022, 19, 7–12. [Google Scholar] [CrossRef]
- Romanyshyn, M. Rule-Based Sentiment Analysis of Ukrainian Reviews. Int. J. Artif. Intell. Appl. 2013, 4, 103. [Google Scholar] [CrossRef]
- Park, C.Y.; Mendelsohn, J.; Field, A.; Tsvetkov, Y. VoynaSlov: A Data Set of Russian Social Media Activity during the 2022 Ukraine-Russia War. arXiv 2022, arXiv:2205.12382. [Google Scholar]
- Chen, E.; Ferrara, E. Tweets in time of conflict: A public dataset tracking the twitter discourse on the war between Ukraine and Russia. arXiv 2022, arXiv:2203.07488. Available online: https://github.com/echen102/ukraine-russia (accessed on 18 May 2022).
- Sullivan, B. Russia’s at War with Ukraine. Here’s How We Got Here 2022. Available online: https://www.npr.org/2022/02/12/1080205477/history-ukraine-russia (accessed on 14 December 2022).
- Kahn, J. Who Is Viktor Yanukovych? The Man Putin Wants to Place Back in Power in Ukraine—Fortune. Available online: https://fortune.com/2022/03/02/viktor-yanukovych-yanukovich-putin-put-back-in-power-ukraine-russia/ (accessed on 16 December 2022).
- Reuters Timeline: The Events Leading up to Russia’s Invasion of Ukraine—Reuters. Available online: https://www.reuters.com/world/europe/events-leading-up-russias-invasion-ukraine-2022-02-28/ (accessed on 16 December 2022).
- Pereira, I.; Reevell, P. What to Know about Ukrainian President Volodymyr Zelenskyy—ABC News. Available online: https://abcnews.go.com/International/ukrainian-president-volodymyr-zelenskyy/story?id=83085078 (accessed on 16 December 2022).
- McGee, L.; Princewill, N. World Leaders Respond to Ukraine Invasion, as Fresh Sanctions Await Russia—CNN. Available online: https://www.cnn.com/2022/02/24/europe/global-response-to-russia-ukraine-intl/index.html (accessed on 16 December 2022).
- Hasan, M.R.; Maliha, M.; Arifuzzaman, M. Sentiment Analysis with NLP on Twitter Data. In Proceedings of the 2019 International Conference on Computer, Communication, Chemical, Materials and Electronic Engineering (IC4ME2), Rajshahi, Bangladesh, 11–12 July 2019; pp. 1–4. [Google Scholar]
- Virmani, C.; Pillai, A.; Juneja, D. Extracting Information from Social Network Using Nlp. Int. J. Comput. Intell. Res. 2017, 13, 621–630. [Google Scholar]
- Malte, A.; Ratadiya, P. Evolution of Transfer Learning in Natural Language Processing. arXiv 2019, arXiv:1910.07370. [Google Scholar]
- Wiedemann, G.; Ruppert, E.; Jindal, R.; Biemann, C. Transfer Learning from Lda to Bilstm-Cnn for Offensive Language Detection in Twitter. arXiv 2018, arXiv:1811.02906. [Google Scholar]
- Kamath, R.; Ghoshal, A.; Eswaran, S.; Honnavalli, P.B. Emoroberta: An Enhanced Emotion Detection Model Using Roberta. In Proceedings of the IEEE International Conference on Electronics, Computing and Communication Technologies, Bangalore, India, 8–10 July 2022. [Google Scholar]
- Liu, Y.; Ott, M.; Goyal, N.; Du, J.; Joshi, M.; Chen, D.; Levy, O.; Lewis, M.; Zettlemoyer, L.; Stoyanov, V. Roberta: A Robustly Optimized Bert Pretraining Approach. arXiv 2019, arXiv:1907.11692. [Google Scholar]
- Demszky, D.; Movshovitz-Attias, D.; Ko, J.; Cowen, A.; Nemade, G.; Ravi, S. GoEmotions: A Dataset of Fine-Grained Emotions. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, 5–10 July 2020; pp. 4040–4054. [Google Scholar]
- Devlin, J.; Chang, M.-W.; Lee, K.; Toutanova, K. Bert: Pre-Training of Deep Bidirectional Transformers for Language Understanding. arXiv 2018, arXiv:1810.04805. [Google Scholar]
- Alkaabi, N.; Zaki, N.; Ismail, H.; Khan, M. Detecting Emotions behind the Screen. AI 2022, 3, 948–960. [Google Scholar] [CrossRef]
- Ekman, P. Are There Basic Emotions? Psychol. Rev. 1992, 99, 550–553. [Google Scholar] [CrossRef]
- Hugging Face Arpanghoshal/EmoRoBERTa Hugging Face. Available online: https://huggingface.co/arpanghoshal/EmoRoBERTa (accessed on 13 December 2022).
- Vaishnavi, V.K. Design Science Research Methods and Patterns: Innovating Information and Communication Technology; Auerbach Publications: Boca Raton, FL, USA, 2007. [Google Scholar]
- Carey, J.; Carlson, B. Introduction to Developing Object-Oriented Frameworks; Addison-Wesley: Boston, MA, USA, 2002. [Google Scholar]
- Kadhim, A.I. Survey on Supervised Machine Learning Techniques for Automatic Text Classification. Artif. Intell. Rev. 2019, 52, 273–292. [Google Scholar] [CrossRef]
- Rathje, J.; Katila, R.; Reineke, P. Making the Most of Supervised Machine Learning in Strategy. Available online: https://mackinstitute.wharton.upenn.edu/wp-content/uploads/2022/03/Katila-Riitta-Reineke-Phil-and-Rathje-Jason_Making-the-Most-of-Supervised-Machine-Learning-in-Strategy.pdf (accessed on 13 December 2022).
- Sebastiani, F. Machine Learning in Automated Text Categorization. ACM Comput. Surv. 2002, 34, 1–47. [Google Scholar] [CrossRef]
- Driessens, K.; Reutemann, P.; Pfahringer, B.; Leschi, C. Using Weighted Nearest Neighbor to Benefit from Unlabeled Data. In Proceedings of the Pacific-Asia Conference on Knowledge Discovery and Data Mining, Long Beach, CA, USA, 6–10 August 2006; pp. 60–69. [Google Scholar]
- Hong, J.; Cho, S.-B. Incremental Support Vector Machine for Unlabeled Data Classification. In Proceedings of the 9th International Conference on Neural Information Processing, ICONIP’02, Singapore, 18–22 November 2002; Volume 3, pp. 1403–1407. [Google Scholar]
- Vittaut, J.-N.; Amini, M.-R.; Gallinari, P. Learning Classification with Both Labeled and Unlabeled Data. In Proceedings of the European Conference on Machine Learning, Helsinki, Finland, 19–23 August 2002; pp. 468–479. [Google Scholar]
- Zakeri, B.; Paulavets, K.; Barreto-Gomez, L.; Echeverri, L.G.; Pachauri, S.; Boza-Kiss, B.; Zimm, C.; Rogelj, J.; Creutzig, F.; Ürge-Vorsatz, D.; et al. Pandemic, War, and Global Energy Transitions. Energies 2022, 15, 6114. [Google Scholar] [CrossRef]
- Jahanshahi, H.; Uzun, S.; Kaçar, S.; Yao, Q.; Alassafi, M.O. Artificial Intelligence-Based Prediction of Crude Oil Prices Using Multiple Features under the Effect of Russia--Ukraine War and COVID-19 Pandemic. Mathematics 2022, 10, 4361. [Google Scholar] [CrossRef]
- Ben Hassen, T.; El Bilali, H. Impacts of the Russia-Ukraine War on Global Food Security: Towards More Sustainable and Resilient Food Systems? Foods 2022, 11, 2301. [Google Scholar] [CrossRef]
- Lewtak, K.; Kanecki, K.; Tyszko, P.; Goryński, P.; Kosińska, I.; Poznańska, A.; Rząd, M.; Nitsch-Osuch, A. Hospitalizations of Ukrainian Migrants and Refugees in Poland in the Time of the Russia-Ukraine Conflict. Int. J. Environ. Res. Public Health 2022, 19, 13350. [Google Scholar] [CrossRef] [PubMed]
- Alam, M.K.; Tabash, M.I.; Billah, M.; Kumar, S.; Anagreh, S. The Impacts of the Russia—Ukraine Invasion on Global Markets and Commodities: A Dynamic Connectedness among G7 and BRIC Markets. J. Risk Financ. Manag. 2022, 15, 352. [Google Scholar] [CrossRef]
- Ibar-Alonso, R.; Quiroga-Garcia, R.; Arenas-Parra, M.; Quiroga-García, R.; Arenas-Parra, M. Opinion Mining of Green Energy Sentiment: A Russia-Ukraine Conflict Analysis. Mathematics 2022, 10, 2532. [Google Scholar] [CrossRef]
- Agarwal, N.S.; Punn, N.S.; Sonbhadra, S.K. Exploring Public Opinion Dynamics on the Verge of World War III Using Russia-Ukraine War-Tweets Dataset; KDD-UC: Washington, DC, USA, 2022. [Google Scholar]
- Martinho, V.J.P.D. Impacts of the COVID-19 Pandemic and the Russia–Ukraine Conflict on Land Use across the World. Land 2022, 11, 1614. [Google Scholar] [CrossRef]
- Guarino, A.; Malandrino, D.; Zaccagnino, R. An Automatic Mechanism to Provide Privacy Awareness and Control over Unwittingly Dissemination of Online Private Information. Comput. Netw. 2022, 202, 108614. [Google Scholar] [CrossRef]
- del Gobbo, E.; Fontanella, S.; Sarra, A.; Fontanella, L. Emerging Topics in Brexit Debate on Twitter Around the Deadlines. Soc. Indic. Res. 2021, 156, 669–688. [Google Scholar] [CrossRef]
- Lee, E.; Rustam, F.; Ashraf, I.; Washington, P.B.; Narra, M.; Shafique, R. Inquest of Current Situation in Afghanistan Under Taliban Rule Using Sentiment Analysis and Volume Analysis. IEEE Access 2022, 10, 10333–10348. [Google Scholar] [CrossRef]
- Cosimato, A.; De Prisco, R.; Guarino, A.; Malandrino, D.; Lettieri, N.; Sorrentino, G.; Zaccagnino, R. The Conundrum of Success in Music: Playing It or Talking About It? IEEE Access 2019, 7, 123289–123298. [Google Scholar] [CrossRef]
- Karyukin, V.; Zhumabekova, A.; Yessenzhanova, S. Machine Learning and Neural Network Methodologies of Analyzing Social Media. In Proceedings of the 6th International Conference on Engineering & MIS 2020, Almaty, Kazakhstan, 14–16 September 2020; Association for Computing Machinery: New York, NY, USA, 2020. [Google Scholar]
- Nganji, J.T.; Cockburn, L. Use of Twitter in the Cameroon Anglophone Crisis. Behav. Inf. Technol. 2020, 39, 267–287. [Google Scholar] [CrossRef] [Green Version]
- Džubur, B.; Trojer, Ž.; Zrimšek, U. Semantic Analysis of Russo-Ukrainian War Tweet Networks; SCORES: Ljubljana, Slovenia, 2022. [Google Scholar]
- Guarino, A.; Lettieri, N.; Malandrino, D.; Zaccagnino, R.; Capo, C. Adam or Eve? Automatic Users’ Gender Classification via Gestures Analysis on Touch Devices. Neural Comput. Appl. 2022, 34, 18473–18495. [Google Scholar] [CrossRef]
- Dong, X.L.; Rekatsinas, T. Data Integration and Machine Learning: A Natural Synergy. In Proceedings of the 2018 International Conference on Management of Data, Houston, TX, USA, 10–15 June 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 1645–1650. [Google Scholar]
- Zhuang, F.; Qi, Z.; Duan, K.; Xi, D.; Zhu, Y.; Zhu, H.; Xiong, H.; He, Q. A Comprehensive Survey on Transfer Learning. Proc. IEEE 2021, 109, 43–76. [Google Scholar] [CrossRef]
- Kaggle Ukraine Russia War Twitter Dataset 2022—Kaggle. Available online: https://www.kaggle.com/datasets/kumari2000/ukraine-russia-war-twitter-dataset-2022 (accessed on 13 December 2022).
- Wang, C.; Cho, K.; Gu, J. Neural Machine Translation with Byte-Level Subwords. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 34, pp. 9154–9160. [Google Scholar]
- Hugging Face Summary of the Tokenizers. Available online: https://huggingface.co/docs/transformers/tokenizer_summary (accessed on 16 December 2022).
- Tripathi, V.; Joshi, A.; Bhattacharyya, P. Emotion Analysis from Text: A Survey. Cent. Indian Lang. Technol. Surv. 2016, 11, 66–69. [Google Scholar]
- Wen, S.; Wan, X. Emotion Classification in Microblog Texts Using Class Sequential Rules. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2014; Volume 28. [Google Scholar]
- Joachims, T. A Probabilistic Analysis of the Rocchio Algorithm with TFIDF for Text Categorization; Defense Technical Information Center: Fort Belvoir, VA, USA, 1996. [Google Scholar]
- Abbasi, N. What Is TF-IDF? Available online: https://www.educative.io/answers/what-is-tf-idf (accessed on 16 December 2022).
- Singh, A.; Thakur, N.; Sharma, A. A Review of Supervised Machine Learning Algorithms. In Proceedings of the 2016 3rd International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India, 16–18 March 2016; pp. 1310–1315. [Google Scholar]
- Ray, S. A Quick Review of Machine Learning Algorithms. In Proceedings of the 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon), Faridabad, India, 14–16 February 2019; pp. 35–39. [Google Scholar]
- Boser, B.E.; Guyon, I.M.; Vapnik, V.N. A training algorithm for optimal margin classifiers. In Proceedings of the fifth annual workshop on Computational learning theory; Association for Computing Machinery: New York, NY, USA, 1992; pp. 144–152. [Google Scholar]
- Belson, W.A. Matching and Prediction on the Principle of Biological Classification. J. R. Stat. Soc. Ser. C Appl. Stat. 1959, 8, 65–75. [Google Scholar] [CrossRef]
- Alzubi, J.; Nayyar, A.; Kumar, A. Machine Learning from Theory to Algorithms: An Overview. Proc. J. Phys. Conf. Ser. 2018, 1142, 12012. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
- Berkson, J. Why I Prefer Logits to Probits. Biometrics 1951, 7, 327–339. [Google Scholar] [CrossRef]
- Fix, E.; Hodges, J.L., Jr. Discriminatory Analysis-Nonparametric Discrimination: Small Sample Performance; California Univ Berkeley: Berkeley, CA, USA, 1952. [Google Scholar]
- Navlani, A.; Naviani, A. KNN Classification Tutorial Using Sklearn Python—DataCamp. Available online: https://www.datacamp.com/tutorial/k-nearest-neighbor-classification-scikit-learn (accessed on 13 December 2022).
- Mahesh, B. Machine Learning Algorithms—A Review. Int. J. Sci. Res. (IJSR) 2020, 9, 381–386. [Google Scholar]
- Freund, Y.; Schapire, R.E. Experiments with a New Boosting Algorithm. In Icml; Citeseer: Princeton, NJ, USA, 1996; Volume 96, pp. 148–156. [Google Scholar]
- Rosenblatt, F. Principles of Neurodynamics. Perceptrons and the Theory of Brain Mechanisms; Cornell Aeronautical Lab Inc.: Buffalo NY, USA, 1961. [Google Scholar]
- Taud, H.; Mas, J.F. Multilayer Perceptron (MLP). In Geomatic Approaches for Modeling Land Change Scenarios; Springer: Berlin/Heidelberg, Germany, 2018; pp. 451–455. [Google Scholar]
- Powers, D.M. Evaluation: From Precision, Recall and f-Measure to Roc, Informedness, Markedness and Correlation. Int. J. Mach. Learn. Technol. 2011, 2, 37–63. [Google Scholar]
- Jash, A. Why India’s Neutral Stance in the Russia-Ukraine War Works, Politics News—ThinkChina. Available online: https://www.thinkchina.sg/why-indias-neutral-stance-russia-ukraine-war-works (accessed on 16 December 2022).
- Swaran, S. Why India Chose a Path of “proactive Neutrality” on Ukraine. Available online: https://theconversation.com/why-india-chose-a-path-of-proactive-neutrality-on-ukraine-182403 (accessed on 16 December 2022).
- NPR. In Russia’s War on Ukraine, India Has Remained Neutral. Will It Stay That Way? NPR. Available online: https://www.npr.org/2022/04/01/1090192863/in-russias-war-on-ukraine-india-has-remained-neutral-will-it-stay-that-way (accessed on 16 December 2022).
- Li, C.; Zhi, X.; Ma, J.; Cui, Z.; Zhu, Z.; Zhang, C.; Hu, L. Performance Comparison between Logistic Regression, Decision Trees, and Multilayer Perceptron in Predicting Peripheral Neuropathy in Type 2 Diabetes Mellitus. Chin. Med. J. 2012, 125, 851–857. [Google Scholar]
Analysis | Values |
---|---|
Top Hashtags | #dugina #Ukrainewar #FSB #fake, #russianarmy, #ukraine, #nafo, #fellas, #ukrainerussiawar, #ukraineunderattack, #standwithukraine, #supportukraine |
Top Mentions | @issandjumal, @zelenskyyua, @youtube, @potus, @rybar, @tovaobrien, @himarstime, @todayfm_nz |
Used mediums | 41% twitter website users, 32% android users, and 19% iPhone users 8% are from other sources such as iPad, zapier.com, TweetDeck, and bots. |
Tweet Likes | Total likes—89,287, Average like per tweet—approx. 2, Max likes—16,987, and Min likes—0 |
Retweets | Total retweets—20,951, Average retweets—approx. 0.6, Max retweets—5764, and Min retweets—0 |
Followers | Total followers—152,464,964, Average follower per tweet—4141, Max followers—14,515,730, and Min Followers—0 |
Followings | Total user following—60,554,956, Average per tweet following—1644, Max following—1,434,649, and Min following—0. |
Emotion | Tweet |
---|---|
Admiration | “Great to see @BorisJohnson giving more financial support to Ukraine. Probably his last act in his office. #UkraineWar” |
Amusement | “Hahahahaha, the Ukrainians did win allready with humor, now kick some Russian behinds! #Crimea #kerch #bridge #Ukraineï” |
Anger | “#Russia strike on #Kharkiv in northeast #Ukraine kills at least 7 people and wounded 16 others. #Zelenskiy: Block of flats destroyed — “We will not forgive, we will take revenge.” |
Annoyance | “Global Times editorial (choice of words) What is even more absurd is that the initiator of this bloody conflict has transformed into a so-called exemplification of justice and a guardian of peace #China #USA #Ukraine #Russia #UkraineWar” |
Approval | “We learned peace is more important than victory. But only in normal human conditions When the fight is against terrorists, victory is the only option. We will win. #WARINUKRAINE #UKRAINEWAR #UKRAINERUSSIAWAR #UKRAINE #IndependenceDayUkraine |
Caring | “Please help #Moldova #Ukraine” |
Confusion | “Maybe, just maybe Antonio will take it serious as soon as he knows what’s going to happen.” |
Curiosity | “How many tanks does each country have in 2022. #Ukrainewar #Ukraine #WarofAttrition #Tanks” |
Desire | “I wish someone look at me like Zelensky look at Boris Johnson. #WarInUkraine #Ukraineï¸ #StandWithUkraine #IndependenceDayUkraine #UkraineWar #UkraineIndependenceDay #Zelensky #BorisJohnson” |
Disappointment | “A lost opportunity. “The Biden administration should have worked with Russia to settle the Ukraine crisis before war broke out in February. It is too late now to strike a deal. Russia, Ukraine, and the West are stuck in a terrible situation with no obvious way out.” |
disapproval | “I dont need a ride I need weapons! #UkraineRussiaWar #Ukraine #UkraineWar #Ukrainian #USAF #USArmy #USD #USA” |
Disgust | “@WFPChief It’s time to remove ruzzian d1** from your mouth @WFPChief, we all see it. It’s disgusting even if you have a nice villa for it. |
Embarrassment | “@ThePollLady Ukraine’s comedian president is busy in Photoshoot and they are giving lecture to us, what a shame. Don’t put your citizens lives in danger to fullfill your ego. #UkraineWar |
Excitement | “I can’t stop watching this clip. I hope Ukraine submits this footage for Best Short Doco at this years Oscars. #UkraineRussiaWar #UkraineWar #Ukraineï” |
Fear | ““break my heart for the things that break the heart of God”. It’s a quote that still haunts me when I think about #UkraineWar Invasion of a country, killing Innocents, not acceptable in this day and age. #Peace” |
Gratitude | “Phoenix rising from the ashes, the Cabal media don’t want you to see this: #Mariupol is being rebuilt into a throbbing business city/financial capital of #Donbass thanks to Russia. Hotel companies from China showing interest. #Ukraine #Kiev #UkraineWar #mariupoltribunal. |
Grief | “The Pope expressed his condolences on the death of Daria Dugina. #UkraineRussiaWar #UkraineRussia #UkraineUnderAttack #UkraineWar” |
Joy | “Glory to Ukraine and it’s Soldiers #UkraineRussiaWar #UkraineWar. |
Love | “Hope you all love to see this‚ #UkraineWar” |
Neutral | “Ukrainian journalist Volodymyr Zolkin asks a captured Russian soldier what his life is like at home. Everything is exactly as you would expect. #UkraineWar #StandWithUkraine #UkraineWillWin.” |
Nervousness | “potg imo, what a nutty shot” |
Optimism | “Hope you stay safe!” |
Pride | “For once I am proud of my country. #ukraine #UkraineWar #UkraineWillWin #UkraineUnderAttack #RussianArmy #RussiaIsATerroristState #PutinWarCriminal” |
Realization | “As events in Russia and America show, we cannot take democracy for granted #democracy #ukrainewar #trump @medium” |
Remorse | “@BThroughParty Sorry, too busy funding #Ukraine #UkraineWar because #USA controls this weak #capitalist UK government ¡ let the people suffer but still believe the propaganda spewed by American controlled social media” |
Sadness | “Shelling of Kharkov in the morning.1 man dead 16 injured, including two children #UkraineWar #RussiaIsATerroristState #UkraineWillWin #PutinWarCriminal #Kharkov” |
Surprise | “#UKRAINE THE CONFUSING MR ZELENSKY #Zelensky is admired for handling the #UkraineRussiaWar So it’s surprising that his govt has made it ILLEGAL FOR CIVILIANS to receive #HumanitarianAid So NO food, NO water, NO medicine for #Ukrainians. Strange that. #UkraineWar #news” |
Model | Accuracy | Precision | Recall | F1 Score |
---|---|---|---|---|
Multinominal NB | 89 | 90 | 89 | 89 |
Gaussian NB | 87 | 79 | 87 | 82 |
KNN Classifier | 93 | 91 | 93 | 92 |
RF | 86 | 77 | 86 | 80 |
DT | 92 | 94 | 92 | 93 |
LogReg | 95 | 94 | 95 | 95 |
SVC | 77 | 60 | 77 | 67 |
Adaboost | 80 | 67 | 80 | 73 |
MLP | 95 | 93 | 95 | 94 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Vyas, P.; Vyas, G.; Dhiman, G. RUemo—The Classification Framework for Russia-Ukraine War-Related Societal Emotions on Twitter through Machine Learning. Algorithms 2023, 16, 69. https://doi.org/10.3390/a16020069
Vyas P, Vyas G, Dhiman G. RUemo—The Classification Framework for Russia-Ukraine War-Related Societal Emotions on Twitter through Machine Learning. Algorithms. 2023; 16(2):69. https://doi.org/10.3390/a16020069
Chicago/Turabian StyleVyas, Piyush, Gitika Vyas, and Gaurav Dhiman. 2023. "RUemo—The Classification Framework for Russia-Ukraine War-Related Societal Emotions on Twitter through Machine Learning" Algorithms 16, no. 2: 69. https://doi.org/10.3390/a16020069
APA StyleVyas, P., Vyas, G., & Dhiman, G. (2023). RUemo—The Classification Framework for Russia-Ukraine War-Related Societal Emotions on Twitter through Machine Learning. Algorithms, 16(2), 69. https://doi.org/10.3390/a16020069