Drug Review Sentiment Analysis: Applying Transformer-Based Models for Enhanced Healthcare

Abstract

Analyzing patient feedback on drug reviews is crucial in the healthcare sector as it determines the efficacy of treatment and patient experiences. Amidst the exponential growth in patient-generated data, the method of sentiment analysis has emerged as a key means of interpreting text-based reviews. In this research, the use of various machine learning and transformer-based approaches to analyze sentiments in drug reviews and gain meaningful insights from patient reviews or opinions is outlined. It juxtaposes traditional machine learning models such as Logistic Regression, Random Forest, and Support Vector Machines with deep neural networks such as Long Short-Term Memory and transformer-based models such as Bidirectional Encoder Representations from Transformers (BERT). Various models' performance is tested using the UC Irvine drug review dataset, and data preprocessing, feature extraction, and cross-validation are used in the study. Transformers, more precisely BERT, perform better than conventional approaches at 0.96 accuracy based on findings, as they can read into intricate patterns of language and contextual hints undetectable by basic models. The research reveals how transformer-based sentiment analysis can enhance healthcare decision-making through better and context-based information

Similar works

Full text

thumbnail-image

York St John University Institutional Repository

redirect
Last time updated on 29/11/2025

Having an issue?

Is data on this page outdated, violates copyrights or anything else? Report the problem now and we will take corresponding actions after reviewing your request.

Licence: http://creativecommons.org/licenses/by/4.0