Abstract
Sentiment analysis, a branch of natural language processing (NLP), has gained significant attention for its applications in various domains. This study focuses on utilizing machine learning and deep learning algorithms for sentiment analysis in the context of analyzing Monkeypox using Arabic sentiment text. The objective is to develop an accurate and efficient model capable of classifying Arabic text into sentiment categories, facilitating the understanding of public perceptions toward Monkeypox. The study begins by collecting a diverse dataset of Arabic text containing sentiments related to Monkeypox. Machine learning algorithms, such as Support Vector Machines, Naive Bayes, and Random Forest, along with deep learning (DNN) techniques, including Recurrent Neural Networks and Transformer models, are employed for sentiment classification. Hyperparameter optimization techniques were implemented to fine-tune the models for optimal performance. The impact of various hyperparameters on the model is assessed to select the best configuration. Experimental results demonstrate the effectiveness of the proposed sentiment analysis models in accurately classifying Arabic sentiment text related to Monkeypox. The DNN models based on Leaky ReLU showcased the significance of leveraging complex representations for NLP tasks with 92%. Hyperparameter optimization aids in selecting suitable configurations, improving model accuracy, and reducing overfitting. The findings from this study contribute to advancing sentiment analysis techniques in Arabic text and provide valuable insights into public sentiments toward Monkeypox. The developed models can be utilized in public health monitoring, crisis management, and policymaking, offering valuable insights into the sentiment landscape surrounding the disease.
Similar content being viewed by others
Data availability
Data are available from the authors upon reasonable request.
References
Abdurrahim A, Syafa’ah L, Lestandy M (2022) Sentiment analysis of Covid-19 vaccine tweets utilizing Naïve Bayes. AIP Conference Proceedings, vol. 2453. https://doi.org/10.1063/5.0094607
Abu-Farha I, Magdy W (2020) From Arabic sentiment analysis to sarcasm detection: the ArSarcasm dataset, Aclweb.Org, European L, pp 32–39
Alabid NN, Katheeth ZD (2021) Sentiment analysis of twitter posts related to the covid-19 vaccines. Indones J Electr Eng Comput Sci 24(3):1727–1734. https://doi.org/10.11591/ijeecs.v24.i3.pp1727-1734
Alayba AM, Palade V, England M, Iqbal R (2017) Arabic language sentiment analysis on health services, pp 114–118. https://doi.org/10.1109/asar.2017.8067771
Alayba AM, Palade V, England M, Iqbal R (2018) A combined CNN and LSTM model for Arabic sentiment analysis. In: Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 11015 LNCS, pp 179–191. https://doi.org/10.1007/978-3-319-99740-7_12
Aljameel SS et al (2021) A sentiment analysis approach to predict an individual’s awareness of the precautionary procedures to prevent covid-19 outbreaks in Saudi Arabia. Int J Environ Res Public Health 18(1):1–12. https://doi.org/10.3390/ijerph18010218
Al-Musallam N, Al-Abdullatif M (2022) Depression detection through identifying depressive Arabic tweets from Saudi Arabia: machine learning approach. In: Proceedings 2022 5th National Conference Saudi Computer Colleges, NCCC 2022, pp 11–18. https://doi.org/10.1109/NCCC57165.2022.10067346
Aloqaily A, Al-Hassan M, Salah K, Elshqeirat B, Almashagbah M (2020) Sentiment analysis for Arabic tweets datasets: Lexicon-based and machine learning approaches. J Theor Appl Inf Technol 98(4):612–623
Al-Tamimi AK, Shatnawi A, Bani-Issa E (2017) Arabic sentiment analysis of YouTube comments. In: 2017 IEEE Jordan conference on applied electrical engineering and computing technologiesAEECT, pp 1–6. https://doi.org/10.1109/AEECT.2017.8257766
Alwakid G, Osman T, Hughes-Roberts T (2017) Challenges in sentiment analysis for Arabic social networks. Proc Comput Sci 117:89–100. https://doi.org/10.1016/j.procs.2017.10.097
Apicella A, Donnarumma F, Isgrò F, Prevete R (2021) A survey on modern trainable activation functions. Neural Netw 138(June):14–32. https://doi.org/10.1016/j.neunet.2021.01.026
Atoum JO, Nouman M (2019) Sentiment analysis of Arabic Jordanian dialect tweets. Int J Adv Comput Sci Appl 10(2):256–262. https://doi.org/10.14569/ijacsa.2019.0100234
Baker QB, Shatnawi F, Rawashdeh S, Al-Smadi M, Jararweh Y (2020) Detecting epidemic diseases using sentiment analysis of arabic tweets. J Univers Comput Sci 26(1):50–70. https://doi.org/10.3897/jucs.2020.004
Bengesi S, Oladunni T, Olusegun R, Audu H (2023) A machine learning-sentiment analysis on Monkeypox outbreak: an extensive dataset to show the polarity of public opinion from twitter tweets. IEEE Access 11(February):11811–11826. https://doi.org/10.1109/ACCESS.2023.3242290
Boulesnane A, Meshoul S, Aouissi K (2022) Influenza-like illness detection from Arabic Facebook posts based on sentiment analysis and 1D convolutional neural network. Mathematics 10(21):1–22. https://doi.org/10.3390/math10214089
Cambria E (2022) Sentic computing. In: Encyclopedia of big data, pp 821–827. Springer International Publishing, Cham
Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP (2002) SMOTE: synthetic minority over-sampling technique. J Artif Intell Res 16:321–357
Chen T, He T, Benesty M (2018) XGBoost : eXtreme Gradient Boosting. R Packag. version 0.71–2, pp 1–4
Chintalapudi N, Battineni G, Amenta F (2021) Sentimental analysis of COVID-19 tweets using deep learning models. Infect Dis Rep 13(2):329–339. https://doi.org/10.3390/IDR13020032
Dangi D, Dixit DK, Bhagat A (2022) Sentiment analysis of COVID-19 social media data through machine learning. Multimed Tools Appl 81(29):42261–42283. https://doi.org/10.1007/s11042-022-13492-w
Derviş K, Selçuk Ö (2004) A simple and global optimization algorithm for engineering problems: differential evolution algorithm. Turkish J Electr Eng Comput Sci 12(1):53–60
El-Beltagy SR, Ali A (2013) Open issues in the sentiment analysis of Arabic social media: a case study. In: 2013 9th international conference innovation information technology, IIT 2013, pp 215–220. https://doi.org/10.1109/Innovations.2013.6544421
Eusebi P (2013) Diagnostic accuracy measures. Cerebrovasc Dis 36(4):267–272. https://doi.org/10.1159/000353863
Fourure D, Javaid MU, Posocco N, Tihon S (2021) Anomaly detection: how to artificially increase your F1-Score with a biased evaluation protocol. In: Lecture notes computere science (including Subseries lecture notes artifial intelligence lecture notes bioinformatics), vol. 12978 LNAI, pp 3–18. https://doi.org/10.1007/978-3-030-86514-6_1
Gamal D, Alfonse M, El-Horbaty E-SM, Salem A-BM (2019) Twitter benchmark dataset for Arabic sentiment analysis. Int J Mod Educ Comput Sci 11(1):33–38. https://doi.org/10.5815/ijmecs.2019.01.04
Gustineli M (2022) A survey on recently proposed activation functions for deep learning, pp 1–7. http://arxiv.org/abs/2204.02921
Hadwan M, Al-Hagery MA, Al-Sarem M, Saeed F (2022) Arabic sentiment analysis of users’ opinions of governmental mobile applications. Comput Mater Contin 72(3):4675–4689. https://doi.org/10.32604/cmc.2022.027311
Heikal M, Torki M, El-Makky N (2018) Sentiment analysis of Arabic Tweets using deep learning. Proc Comput Sci 142:114–122. https://doi.org/10.1016/j.procs.2018.10.466
Hnaif AA, Kanan E, Kanan T (2021) Sentiment analysis for arabic social media news polarity. Intell Autom Soft Comput 28(1):107–119. https://doi.org/10.32604/iasc.2021.015939
Huang H, Zavareh AA, Mustafa MB (2023) Sentiment analysis in E-Commerce platforms: a review of current techniques and future directions. IEEE Access 11(July):90367–90382. https://doi.org/10.1109/ACCESS.2023.3307308
Iparraguirre-Villanueva O et al (2023) The public health contribution of sentiment analysis of Monkeypox tweets to detect polarities using the CNN-LSTM model. Vaccines 11(2):1–12. https://doi.org/10.3390/vaccines11020312
Jain R et al (2023) Explaining sentiment analysis results on social media texts through visualization. Multimed Tools Appl 82(15):22613–22629. https://doi.org/10.1007/s11042-023-14432-y
Jakkula V (2011) Tutorial on Support Vector Machine (SVM). School of EECS, Washington State University, pp 1–13
Juba B, Le HS (2019) Precision-Recall versus accuracy and the role of large data sets. In: 33rd AAAI confernce artifial intelligence AAAI 2019, 31st innovative applied artifial intelligence conference IAAI 2019 9th AAAI symposium education advance artifial intelligence, EAAI 2019, pp 4039–4048. https://doi.org/10.1609/aaai.v33i01.33014039
Ke G et al. (2017) LightGBM: a highly efficient gradient boosting decision tree. Adv Neural Inf Process Syst, vol. 2017-Decem, pp 3147–3155
Kim H, Park J, Lee C, Kim JJ (2021) Improving accuracy of binary neural networks using unbalanced activation distribution. In: Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., pp 7858–7867. https://doi.org/10.1109/CVPR46437.2021.00777.
Kovács B, Tinya F, Németh C, Ódor P (2020) Unfolding the effects of different forestry treatments on microclimate in oak forests: results of a 4-yr experiment. Ecol Appl 30(2):321–357. https://doi.org/10.1002/eap.2043
Margineantu DD, Dietterich TG (1997) Pruning Adaptive Boosting *** ICML-97 Final Draft ***"
Mohammed A, Kora R (2019) Deep learning approaches for Arabic sentiment analysis. Soc Netw Anal Min 9(1):1–12. https://doi.org/10.1007/s13278-019-0596-4
Mohbey KK, Meena G, Kumar S, Lokesh K (2022) A CNN-LSTM-based hybrid deep learning approach to detect sentiment polarities on Monkeypox tweets, pp 1–11
Musleh DA et al (2022) Twitter arabic sentiment analysis to detect depression using machine learning. Comput Mater Contin 71(2):3463–3477. https://doi.org/10.32604/cmc.2022.022508
Oscar N, Fox PA, Croucher R, Wernick R, Keune J, Hooker K (2017) Machine learning, sentiment analysis, and tweets: an examination of Alzheimer’s disease stigma on Twitter. J Gerontol Ser B Psychol Sci Soc Sci 72(5):742–751. https://doi.org/10.1093/geronb/gbx014
Otten JDM et al (2005) Effect of recall rate on earlier screen detection of breast cancers based on the Dutch performance indicators. J Natl Cancer Inst 97(10):748–754. https://doi.org/10.1093/jnci/dji131
Oussous A, Benjelloun FZ, Lahcen AA, Belfkih S (2020) ASA: a framework for Arabic sentiment analysis. J Inf Sci 46(4):544–559. https://doi.org/10.1177/0165551519849516
Rodríguez-Ibánez M, Casánez-Ventura A, Castejón-Mateos F, Cuenca-Jiménez PM (2023) A review on sentiment analysis from social media platforms. Expert Syst Appl. https://doi.org/10.1016/j.eswa.2023.119862
Rukhsar S et al (2023) Artificial intelligence based sentence level sentiment analysis of COVID-19. Comput Syst Sci Eng 47(1):791–807. https://doi.org/10.32604/csse.2023.038384
Salem F (2017) Social Media and the Internet of Things (The Arab Social Media Report 2017), Arab Social Media Report Series
Sayed AA, Elgeldawi E, Zaki AM, Galal AR (2020) Sentiment analysis for Arabic reviews using machine learning classification algorithms. In: Proceedings 2020 international conference innovative trends communications computere engineering, ITCE 2020, pp 56–63. https://doi.org/10.1109/ITCE48509.2020.9047822
Tan L, Tan OK, Sze CC, Bin Goh WW (2023) Emotional variance analysis: a new sentiment analysis feature set for artificial intelligence and machine learning applications. PLoS One 18(1):1–22. https://doi.org/10.1371/journal.pone.0274299
Ullah I, Mahmoud QH (2022) An anomaly detection model for iot networks based on flow and flag features using a feed-forward neural network. In: Proceedings - IEEE consumer communications network conference CCNC, pp 363–368. https://doi.org/10.1109/CCNC49033.2022.9700597
Waheeb SA, Khan NA, Chen B, Shang X (2020) Machine learning based sentiment text classification for evaluating treatment quality of discharge summary. Information. https://doi.org/10.3390/INFO11050281
Funding
Not applicable.
Author information
Authors and Affiliations
Contributions
HG worked in software, resources, writing—original draft, supervision, methodology, conceptualization, formal analysis, and review and editing. REAM worked in supervision, methodology, conceptualization, and writing—original draft. GS helped in formal analysis, and writing—review and editing. AN helped in formal analysis and writing—review and editing. SS helped in formal analysis and writing—review and editing. KMON helped in formal analysis and writing—review and editing. MA helped in formal analysis and writing—review and editing. EAD helped in formal analysis and writing—review and editing. MG helped in formal analysis and writing—review and editing. LA helped in formal analysis and writing—review and editing. All authors read and approved the final paper.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that there is no conflict of interest regarding the publication of this paper.
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Informed consent
Informed consent was obtained from all individual participants included in the study.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Gharaibeh, H., Al Mamlook, R.E., Samara, G. et al. Arabic sentiment analysis of Monkeypox using deep neural network and optimized hyperparameters of machine learning algorithms. Soc. Netw. Anal. Min. 14, 30 (2024). https://doi.org/10.1007/s13278-023-01188-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s13278-023-01188-4