Litcius/Paper detail

Deep learning-based method for sentiment analysis for patients’ drug reviews

Sena Al-Hadhrami, Tamás Vinkó, Tawfik Al-Hadhrami, Faisal Saeed, Sultan Noman Qasem

2024PeerJ Computer Science18 citationsDOIOpen Access PDF

Abstract

This article explores the application of deep learning techniques for sentiment analysis of patients' drug reviews. The main focus is to evaluate the effectiveness of bidirectional long-short-term memory (LSTM) and a hybrid model (bidirectional LSTM-CNN) for sentiment classification based on the entire review text, medical conditions, and rating scores. This study also investigates the impact of using GloVe word embeddings on the model's performance. Two different drug review datasets were used to train and test the models. The proposed methodology involves the implementation and evaluation of both deep learning models with the GloVe word embeddings for sentiment analysis of drug reviews. The experimental results indicate that Model A (Bi-LSTM-CNN) achieved an accuracy of 96% and Model B (Bi-LSTM-CNN) performs consistently at 87% for accuracy. Notably, the incorporation of GloVe word representations improves the overall performance of the models, as supported by Cohen's Kappa coefficient, indicating a high level of agreement. These findings showed the efficacy of deep learning-based approaches, particularly bidirectional LSTM and bidirectional LSTM-CNN, for sentiment analysis of patients' drug reviews.

Topics & Concepts

DrugSentiment analysisArtificial intelligenceDeep learningComputer scienceNatural language processingData scienceMachine learningPsychologyMedicinePharmacologySentiment Analysis and Opinion MiningMental Health via WritingAdvanced Text Analysis Techniques