The Comparative Study of Machine Learning Algorithms for Sentiment Analysis in Multimodal Medical Data

Comparative Study of Machine Learning Algorithms for Sentiment Analysis in Multimodal Medical Data

Authors

  • Hafiz_Bilal Ghani University of Agriculture Faisalabad
  • Muhammad Asif Information Technology University
  • Muhammad Azam Zia Information Technology University

Keywords:

Sentiment Analysis, Machine Learning, Natural Language Processing, Confusion Matrix

Abstract

Sentiment analysis, a part of data mining, uses Natural Language Processing (NLP) to understand how people feel about certain topics or individuals. It focuses on the context and polarity of information, measuring public opinions from unstructured sources like social networks and healthcare websites. By extracting useful insights from this unstructured data, healthcare professionals can improve patient care, make accurate diagnoses, and provide personalized treatments. Machine learning (ML) plays a key role in this process. ML techniques like logistic regression, decision trees, and Naive Bayes have proven effective in tasks such as sentiment analysis and named entity recognition in medical data. The goal of ML is to create algorithms that enhance data processing and decision-making by identifying patterns that might be overlooked by humans. In this study, we compare the performance of three common ML models—(a) Logistic Regression, (b) Decision Tree, and (c) Naive Bayes—for sentiment analysis on medical image captions. The Radiology Objects in Context (ROCO) multimodal image and caption dataset was used for this NLP task. Caption pre-processing is done using filtering methods to improve text quality, followed by sentiment classification using pre-trained ML models. This comparison sheds light on the effectiveness of these algorithms in performing sentiment analysis in clinical settings.

References

M. T. Mollie Hobensack, Jiyoun Song, Danielle Scharp, Kathryn H. Bowles, “Machine learning applied to electronic health record data in home healthcare: A scoping review,” Int. J. Med. Inform., vol. 170, p. 104978, 2023, doi: ttps://doi.org/10.1016/j.ijmedinf.2022.104978.

I.-C. H. Jin-ah Sim, Xiaolei Huang, Madeline R. Horan, Christopher M. Stewart, Leslie L. Robison, Melissa M. Hudson, Justin N. Baker, “Natural language processing with machine learning methods to analyze unstructured patient-reported outcomes derived from electronic health records: A systematic review,” Artif. Intell. Med., vol. 146, p. 102701, 2023, doi: https://doi.org/10.1016/j.artmed.2023.102701.

G. T. & A. M. Roger Garriga, Javier Mas, Semhar Abraha, Jon Nolan, Oliver Harrison, “Machine learning model to predict mental health crises from electronic health records,” Nat. Med., vol. 28, pp. 1240–1248, 2022, doi: https://doi.org/10.1038/s41591-022-01811-5.

S. M. M. I. Mohammed Nazim Uddin, Md. Ferdous Bin Hafiz, Sohrab Hossain, “Drug Sentiment Analysis using Machine Learning Classifiers,” Int. J. Adv. Comput. Sci. Appl., vol. 13, no. 1, 2022, doi: 10.14569/IJACSA.2022.0130112.

M. Asif, S. A. Khan, T. Hassan, M. U. Akram, and A. Shaukat, “Generation of High Resolution Medical Images Using Super Resolution via Sparse Representation,” Adv. Intell. Syst. Comput., vol. 565, pp. 288–298, 2018, doi: 10.1007/978-3-319-60834-1_29.

R. W. Muhammad Asif, Muhammad Usman Akram, Taimur Hassan, Arslan Shaukat, “High resolution OCT image generation using super resolution via sparse representation,” Eighth Int. Conf. Graph. Image Process. (ICGIP 2016), 2017, doi: https://doi.org/10.1117/12.2266337.

M. Asif, L. Chen, H. Song, J. Yang, and A. F. Frangi, “An automatic framework for endoscopic image restoration and enhancement,” Appl. Intell., vol. 51, no. 4, pp. 1959–1971, Apr. 2021, doi: 10.1007/S10489-020-01923-W/METRICS.

A. F. F. Muhammad Asif, Hong Song, Lei Chen, Jian Yang, “Intrinsic layer based automatic specular reflection detection in endoscopic images,” Comput. Biol. Med., vol. 128, p. 104106, 2021, doi: https://doi.org/10.1016/j.compbiomed.2020.104106.

Z. Z. Rizwan Khan, Saeed Akbar, Atif Mehmood,Farah Shahid, Khushboo Munir, Naveed Ilyas, M. Asif, “A transfer learning approach for multiclass classification of Alzheimer’s disease using MRI images,” Front. Neurosci., vol. 16, 2022, doi: https://doi.org/10.3389/fnins.2022.1050777.

M. A. Muhammad Azam Zia, Ayesha Akram, Imran Mumtaz, Muhammad Asim Saleem, “ANALYSIS OF GRAPE LEAF DISEASE BY USING DEEP CONVOLUTIONAL NEURAL NETWORK,” Agric. Sci. J., vol. 5, no. 1, 2023, doi: https://doi.org/10.56520/asj.v5i1.242.

E. M. A. Muhammad Asif, Hong Song, Muhammad Azam Zia, Sajid Ali, “Shedding Light on Diagnostic Precision: GANs for Low Light Endoscopy Image Enhancements,” arXiv:2404.03844, 2024, doi: https://doi.org/10.21203/rs.3.rs-4213321/v1.

G. A. F. Parastoo Golpour, Majid Ghayour-Mobarhan, Azadeh Saki, Habibollah Esmaily, Ali Taghipour, Mohammad Tajfard, Hamideh Ghazizadeh, Mohsen Moohebati, “Comparison of Support Vector Machine, Naïve Bayes and Logistic Regression for Assessing the Necessity for Coronary Angiography,” Int. J. Environ. Res. Public Heal., vol. 17, no. 18, p. 6449, 2020, doi: https://doi.org/10.3390/ijerph17186449.

D. I. Rahmat Syahputra, Gomal Juni Yanris, “SVM and Naïve Bayes Algorithm Comparison for User Sentiment Analysis on Twitter,” Sinkron, vol. 6, no. 2, 2022, doi: 10.33395/sinkron.v7i2.11430.

A. C. Bansal, Malti, Goyal, Apoorva, “A comparative analysis of K-Nearest Neighbor, Genetic, Support Vector Machine, Decision Tree, and Long Short Term Memory algorithms in machine learning,” Decis. Anal. J., vol. 3, p. 100071, 2022, doi: https://doi.org/10.1016/j.dajour.2022.100071.

Downloads

Published

2025-03-22

How to Cite

Ghani, H., Muhammad Asif, & Muhammad Azam Zia. (2025). The Comparative Study of Machine Learning Algorithms for Sentiment Analysis in Multimodal Medical Data: Comparative Study of Machine Learning Algorithms for Sentiment Analysis in Multimodal Medical Data. International Journal of Innovations in Science & Technology, 7(5), 304–317. Retrieved from https://journal.50sea.com/index.php/IJIST/article/view/1240