Al-Hadhrami Sena, Vinko Tamas, Al-Hadhrami Tawfik, Saeed Faisal, Qasem Sultan Noman
Institute of Informatics, Faculty of Science and Informatics, University of Szeged, Szeged, Hungary.
Computer Science Department, School of Science and Technology, Nottingham Trent University, Nottingham, United Kingdom.
PeerJ Comput Sci. 2024 Apr 29;10:e1976. doi: 10.7717/peerj-cs.1976. eCollection 2024.
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.
本文探讨了深度学习技术在患者药物评价情感分析中的应用。主要重点是基于整个评价文本、医疗状况和评分来评估双向长短期记忆(LSTM)和混合模型(双向LSTM-CNN)在情感分类方面的有效性。本研究还调查了使用GloVe词嵌入对模型性能的影响。使用了两个不同的药物评价数据集来训练和测试模型。所提出的方法涉及使用带有GloVe词嵌入的深度学习模型进行药物评价情感分析的实施和评估。实验结果表明,模型A(双向LSTM-CNN)的准确率达到96%,模型B(双向LSTM-CNN)的准确率始终为87%。值得注意的是,如科恩卡帕系数所示,GloVe词表示的纳入提高了模型的整体性能,表明一致性程度较高。这些发现表明基于深度学习的方法,特别是双向LSTM和双向LSTM-CNN,在患者药物评价情感分析中是有效的。