Sentiment Analysis in Drug Reviews using Supervised Machine Learning Algorithms

Sentiment Analysis is an important algorithm in Natural Language Processing which is used to detect sentiment within some text. In our project, we had chosen to work on analyzing reviews of various drugs which have been reviewed in form of texts and have also been given a rating on a scale from 1-10. We had obtained this data set from the UCI machine learning repository which had 2 data sets: train and test (split as 75-25%). We had split the number rating for the drug into three classes in general: positive (7-10), negative (1-4) or neutral(4-7). There are multiple reviews for the drugs that belong to a similar condition and we decided to investigate how the reviews for different conditions use different words impact the ratings of the drugs. Our intention was mainly to implement supervised machine learning classification algorithms that predict the class of the rating using the textual review. We had primarily implemented different embeddings such as Term Frequency Inverse Document Frequency (TFIDF) and the Count Vectors (CV). We had trained models on the most popular conditions such as "Birth Control", "Depression" and "Pain" within the data set and obtained good results while predicting the test data sets.

READ FULL TEXT
research
04/04/2019

Deep Learning Sentiment Analysis of Amazon.com Reviews and Ratings

Our study employs sentiment analysis to evaluate the compatibility of Am...
research
11/07/2017

Quality-Efficiency Trade-offs in Machine Learning for Text Processing

Data mining, machine learning, and natural language processing are power...
research
03/24/2021

Drug Recommendation System based on Sentiment Analysis of Drug Reviews using Machine Learning

Since coronavirus has shown up, inaccessibility of legitimate clinical r...
research
05/02/2023

Stars Are All You Need: A Distantly Supervised Pyramid Network for Document-Level End-to-End Sentiment Analysis

In this paper, we propose document-level end-to-end sentiment analysis t...
research
09/20/2017

Identifying Restaurant Features via Sentiment Analysis on Yelp Reviews

Many people use Yelp to find a good restaurant. Nonetheless, with only a...
research
03/23/2021

A New Approach To Text Rating Classification Using Sentiment Analysis

Typical use cases of sentiment analysis usually revolve around assessing...
research
02/29/2020

What Emotions Make One or Five Stars? Understanding Ratings of Online Product Reviews by Sentiment Analysis and XAI

When people buy products online, they primarily base their decisions on ...

Please sign up or login with your details

Forgot password? Click here to reset