a Proposed Machine learning model for predicting Egyptian Parliament Election Results

doaa alkhiary, Samir Abu El fotoh Saleh , Mohamd Ebrahim Marie

Abstract

Political life and election have become one of the most important comments on social media sites. Governments have shown a keen interest in predicting the results of elections, whether presidential or parliamentary. The purpose of this study is to predict the results of the Egyptian Parliament elections using sentiment analysis, specifically Support Vector Machines (SVM), Naive Bayes, Decision Trees, and Random Forests in the context of machine learning. In this study, a sentiment analysis approach is employed to analyze public sentiment towards political parties and candidates leading up to Parliament elections. The sentiment analysis techniques are utilized to classify sentiment from textual data collected from Tweeter; Data were obtained in November 2020 before and during election days. The study utilizes a machine learning framework to train and test the models using a labeled dataset of sentiment-labeled political texts. The findings of this study reveal that sentiment analysis using machine learning can effectively predict the results of Parliament elections. The accuracy and performance of each technique are evaluated and compared to determine the most accurate and reliable predictor of election outcomes. This study contributes to the existing literature by applying sentiment analysis techniques to predict Parliament election results. The use of machine learning algorithms in combination with sentiment analysis, offers a novel approach to election forecasting. The findings of this study can be valuable for political analysts, election strategists, and policymakers seeking to understand public sentiment and predict election outcomes accurately.

References

[1] Ali, H., Farman, H., Yar, H., Khan, Z., Habib, S., & Ammar, A. (2022) Deep learning-based election results prediction using Twitter activity. Soft Computing, 26(16), 7535-7543.
[2] Alvi, Q., Ali, S.F., Ahmed, S.B., Khan, N.A., Javed, M., & Nobanee, H. (2023) On the frontiers of Twitter data and sentiment analysis in election prediction: a review. Peer J. Computer Science, 9, e1517.
[3] Livne, A., Simmons, M., Adar, E., & Adamic, L. (2011) The party is over here: Structure and content in the 2010 election. In Proceedings of the International AAAI Conference on Web and Social Media (Vol. 5, No. 1, pp. 201-208).‏
[4] Chauhan, P., Sharma, N., & Sikka, G. (2021) The emergence of social media data and sentiment analysis in election prediction. Journal of Ambient Intelligence and Humanized Computing, 12, 2601-2627.‏
[5] Qorib, M., Gizaw, R.S., & Kim, J. (2023). Impact of Sentiment Analysis for the 2020 US Presidential Election on Social Media Data. In Proceedings of the 2023 8th. International Conference on Machine Learning Technologies (pp. 28-34).
[6] Baker Al Barghuthi, N., & E. Said, H. (2020) Sentiment analysis on predicting presidential election: Twitter used case. In Intelligent Computing Systems: Third International Symposium, ISICS 2020, Sharjah, United Arab Emirates, March 18–19, 2020, Proceedings 3 (pp. 105-117). Springer International Publishing.‏
[7] Chaudhry, H.N., Javed, Y., Kulsoom, F., Mehmood, Z., Khan, Z.I., Shoaib, U., & Janjua, S.H. (2021) Sentiment analysis of before and after elections: Twitter data of us election 2020. Electronics, 10(17), 2082.‏
‏[8] Nausheen, F., & Begum, S.H. (2018) Sentiment analysis to predict election results using Python. In 2018 2nd international conference on inventive systems and control (ICISC) (pp. 1259-1262). IEEE.‏
[9] Khan, A., Zhang, H., Boudjellal, N., Ahmad, A., Shang, J., Dai, L., & Hayat, B. (2021) Election prediction on twitter: a systematic mapping study. Complexity, 1-27.‏
[10] Rizk, R., Rizk, D., Rizk, F., & Hsu, S. (2023) 280 characters to the White House: predicting 2020 US presidential elections from twitter data. Computational and Mathematical Organization Theory, 1-28.‏
[11] Olabanjo, O., Wusu, A., Asokere, M., Padonu, R., Olabanjo, O., Ojo, O., & Aribisala, B. (2022). From Twitter to Aso-Rock: A natural language processing spotlight for understanding Nigeria 2023 presidential election.‏
[12] Budiharto, W., & Meiliana, M. (2018. Prediction and analysis of Indonesia Presidential election from Twitter using sentiment analysis. Journal of Big data, 5(1), 1-10.‏
[13] Oyewola, D.O., Oladimeji, L.A., Julius, S.O., Kachalla, L.B., & Dada, E.G. (2023) Optimizing sentiment analysis of Nigerian 2023 presidential election using two-stage residual long short-term memory. Heliyon, 9(4) - PMC.
[14] Guellil, I., Saâdane, H., Azouaou, F., Gueni, B., & Nouvel, D. . (2019). Arabic natural language processing: an overview. . Journal of King Saud University-Computer and Information Sciences.
[15] Ceron, A., Curini, L., & Iacus, S. M. (2015) Using sentiment analysis to monitor electoral campaigns: Method matters—evidence from the United States and Italy. Social Science Computer Review, 33(1), 3-20.‏
[16] Jaidka, K., Ahmed, S., Skoric, M., & Hilbert, M. (2019) Predicting elections from social media: a three-country, three-method comparative study. Asian Journal of Communication, 29(3), 252-273. Qorib, M., Gizaw, R. S., & Kim, J. (2023), March.
[17] Xie, Z., Liu, G., Wu, J., & Tan, Y. (2018) Social media would not lie: Prediction of the 2016 Taiwan election via online heterogeneous data. arXiv preprint arXiv:1803.08010.‏
[18] Heredia, B., Prusa, J.D., & Khoshgoftaar, T.M. (2018) Location-based twitter sentiment analysis for predicting the US 2016 presidential election. In The Thirty-First International Flairs Conference.‏
[19] Bilal, U., Knapp, E.A., & Cooper, R.S. (2018) Swing voting in the 2016 presidential election in counties where midlife mortality has been rising in white non-Hispanic Americans. Social Science & Medicine, 197, 33-38.‏
[20] Bose, R., Dey, R.K., Roy, S., & Sarddar, D. (2019) Analyzing political sentiment using Twitter data. In Information and Communication Technology for Intelligent Systems: Proceedings of ICTIS 2018, Volume 2 (pp. 427-436). Springer Singapore.‏
[21] Gorodnichenko, Y., Pham, T., & Talavera, O. (2018). Social media, sentiment and public opinions: Evidence from #Brexit and #USElection: National Bureau of Economic Research.
[22] B. Liu. (2012) “Sentiment analysis and opinion mining,”Synth. Lect. Hum. Lang. Technol., vol. 5, no. 1, pp. 1-167.
[23] Elhawary, M., Elfeky, M. (2010) Mining Arabic Business Review. In Proceedings of the 20 10. IEEE International Conference on Data Mining Workshops. 1108-1113.
[24] Kotsiantis, S.B. (2013) Decision trees: A recent overview. Artificial Intelligence Review, 39(4), 261-283.
[25] Breiman, L. (2001) Statistical modeling: The two cultures (with comments and a rejoinder by the author). Statistical Science, 16(3), 199-231.
[26] Liaw, A., & Wiener, M. (2002) Classification and regression by random Forest. R news, 2(3), 18-22.

[27] Wang, H., Can, D., Kazemzadeh, A., Bar, F., & Narayanan, S. (2012). A system for real-time twitter sentiment analysis of 2012 us presidential election cycle. In Proceedings of the ACL 2012 system demonstrations (pp. 115-120).
[28] Kanaan, G., Al-Shalabi, R., Ghawanmeh, S., and Al Ma’adeed, H. 2009.A Comparison of Text-Classification Techniques Applied to Arabic Text, Journal of the American society for information science and technology, 60 (9) 1836-1844.

Authors

doaa alkhiary
Doaa.Mohamed021@commerce.helwan.edu.eg (Primary Contact)
Samir Abu El fotoh Saleh
Mohamd Ebrahim Marie
alkhiary, doaa, Saleh, S., & Marie, M. (2024). a Proposed Machine learning model for predicting Egyptian Parliament Election Results . International Journal of Advanced Science and Computer Applications, 4(1). https://doi.org/10.47679/ijasca.v4i1.61

Article Details