0% found this document useful (0 votes)
44 views

DRUG Recommendation System Based On Sentiment Analysis of DRUG Reviews Using Machine Learning

This document describes a proposed drug recommendation system based on sentiment analysis of drug reviews using machine learning techniques. The system would analyze patient reviews of drugs to predict sentiment and recommend the top drug for a given disease. Sentiment would be evaluated using techniques like TF-IDF and classifiers like Linear SVC, achieving up to 93% accuracy. The proposed system aims to help doctors and patients make more informed decisions by leveraging sentiment analysis and feature engineering from large amounts of online drug review data.

Uploaded by

kmp pssr
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

DRUG Recommendation System Based On Sentiment Analysis of DRUG Reviews Using Machine Learning

This document describes a proposed drug recommendation system based on sentiment analysis of drug reviews using machine learning techniques. The system would analyze patient reviews of drugs to predict sentiment and recommend the top drug for a given disease. Sentiment would be evaluated using techniques like TF-IDF and classifiers like Linear SVC, achieving up to 93% accuracy. The proposed system aims to help doctors and patients make more informed decisions by leveraging sentiment analysis and feature engineering from large amounts of online drug review data.

Uploaded by

kmp pssr
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

DRUG Recommendation System Based on Sentiment Analysis

of DRUG Reviews Using Machine Learning

ABSTRACT:
In today’s digital era healthcare is one among the major core areas of the medical
domain. People trying to find suitable health-related information that they are concerned
with. The Internet could be a great resource for this kind of data, however you need to take
care to avoid getting harmful information. Nowadays, a colossal quantity of clinical
information dispersed totally across different websites on the Internet prevents users from
finding useful information for their well-being improvement. Errors in medication are one
of the foremost severe medical faults that would be a threat to patients’ lives. These
problems increases the requirement to use recommendation systems within the domain of
healthcare to assist users creates additional economical and correct health-related
decisions. In this research, we build a medicine recommendation system that uses patient
reviews to predict the sentiment using various victimization processes like Bow, TF-IDF,
Word2Vec, and Manual Feature Analysis, which can help recommend the top drug for a
given disease by different classification algorithms. The predicted sentiments were
evaluated by precision, recall, f1score, accuracy, and AUC score. The results show that
classifier Linear SVC using TF-IDF victimization outperforms all other models with
93%accuracy.

INTRODUCTION:
With the number of coronavirus cases growing exponentially, the nations are facing a
shortage of doctors, particularly in rural areas where the quantity of specialists is less
compared to urban areas. A doctor takes roughly 6 to 12 years to procure the necessary
qualifications. Thus, the number of doctors can’t be expanded quickly in a short time
frame. A Telemedicine framework ought to be energized as far as possible in this difficult
time. Clinical blunders are very regular nowadays. Over 200 thousand individuals in
China and 100 thousand in the USA are affected every year because of prescription
mistakes. Over 40% medicine, specialists make mistakes while prescribing since specialists
compose the solution as referenced by their knowledge, which is very restricted. Choosing
the top level medication is significant for patients who need specialists that know wide-
based information about microscopic organisms, antibacterial medications, and patients.
Every day a new study comes up with accompanying more drugs, tests, accessible for
clinical staff every day. Accordingly, it turns out to be progressively challenging for doctors
to choose which treatment or medications to give to a patient based on indications, past
clinical history. With the exponential development of the web and the web-based business
industry, item reviews have become an imperative and integral factor for acquiring items
worldwide. Individuals worldwide become adjusted to analyze reviews and websites first
before settling on a choice to buy a thing. While most of past exploration zeroed in on
rating expectation and proposals on the E-Commerce field, the territory of medical care or
clinical therapies has been infrequently taken care of. There has been an expansion in the
number of individuals worried about their well-being and finding a diagnosis online. As
demonstrated in a Pew American Research center survey directed in 2013 [5], roughly 60%
of grown-ups searched online for health-related subjects, and around 35% of users looked
for diagnosing health conditions on the web. A medication recommender framework is truly
vital with the goal that it can assist specialists and help patients to build their knowledge of
drugs on specific health conditions. A recommender framework is a customary system that
proposes an item to the user, dependent on their advantage and necessity. These
frameworks employ the customers’ surveys to break down their sentiment and suggest a
recommendation for their exact need. In the drug recommender system, medicine is offered
on a specific condition dependent on patient reviews using sentiment analysis and feature
engineering. Sentiment analysis is a progression of strategies, methods, and tools for
distinguishing and extracting emotional data, such as opinion and attitudes, from language.
On the other hand, Featuring engineering is the process of making more features from the
existing ones; it improves the performance of models.

LITERATURE SURVEY:
These days, recommender frameworks are very regular in the travel industry, e-
commerce, restaurant, and so forth. Unfortunately, there are a limited number of studies
available in the field of drug proposal framework utilizing sentiment analysis on the
grounds that the medication reviews are substantially more intricate to analyze as it
incorporates clinical wordings like infection names, reactions, a synthetic names that used
in the production of the drug .The study presents Galen OWL, a semantic- empowered
online framework, to help specialists discover details on the medications. The paper
depicts a framework that suggests drugs for a patient based on the patient’s infection,
sensitivities, and drug interactions. For empowering Galen OWL, clinical data and
terminology first converted to ontological terms utilizing worldwide standards, such as
ICD-10 and UNII, and then correctly combined with the clinical information. Leilei Sun
examined large scale treatment records to locate the best treatment prescription for
patients. The idea was to use an efficient semantic clustering algorithm estimating the
similarities between treatment records. Likewise, the author created a framework to
assess the adequacy of the suggested treatment. This structure can prescribe the best
treatment regimens to new patients as per their demographic locations and medical
complications. An Electronic Medical Record (EMR) of patients gathered from numerous
clinics for testing. The result shows that this framework improves the cure rate. In this
research , multilingual sentiment analysis was performed using Naive Bayes and
Recurrent Neural Network (RNN). Google translator API was used to convert multilingual
tweets into the English language. The results exhibit that RNN with 95.34% outperformed
Naive Bayes, 77.21%. The study is based on the fact that the recommended drug should
depend upon the patient’s capacity. For example, if the patient’s immunity is low, at
that point, reliable medicines ought to be recommended. Proposed a risk level
classification method to identify the patient’s immunity. For example, in excess of 60
risk factors, hypertension, liquor addiction, and so forth have been adopted, which
decide the patient’s capacity to shield himself from infection. A web-based prototype
system was also created, which uses a decision support system that helps doctors select
first-line drugs. Xiaohong Jiang et al. examined three distinct algorithms, decision tree
algorithm, support vector machine (SVM)and backpropagation neural network on
treatment data. SVM was picked for the medication proposal module as it performed
truly well in each of the three unique boundaries-model exactness, model proficiency,
model versatility. Additionally, proposed the mistake check system to ensure analysis,
precision and administration quality. Mohammad Mehedi Hassan et al.developed a cloud
assisted drug proposal (CADRE). As per patients’ side effects, CADRE can suggest drugs
with top-N related prescriptions. This proposed framework was initially founded on
collaborative filtering techniques in which the medications are initially bunched into
clusters as indicated by the functional description data. However, after considering its
weaknesses like computationally costly, cold start, and information sparsity, the model is
shifted to a cloud-helped approach using tensor decomposition for advancing the quality
of experience of medication suggestion.
CURRENT SYSTEM:
Recommender frameworks point to supply clients with personalized stock and
repair to alter the expanding online information over- burden drawback. Various
recommender frame work methods are anticipated since the mid1990s, and numerous shapes
of recommender framework code were created as of late for a spread of applications. The
health- related substance shared through on-line feedbacks or surveys contains covered up
assumption designs that emerges through totally distinctive sources from medical world
which offer benefits to the pharmaceutical industry. Amid this, the on-line component is
fantastically standard of late for online looking, diverse stock through distinctive websites
like on-line buying of drugs at entryway step. Numerous websites and blogs offers clients to
rate their stock with their fulfillment and quality of stock, logistics, administrations and
criticism etc., which the clients examines for a particular medicine or on quality of
administration. In the existing work, the system did not implement an exact sentiment
analysis for large data sets. This system is less performance due to lack Data Classification
and Data Fragmentation technique.

PROPOSED SYSTEM:
A recommender framework is a customary system that proposes an item to the
user, dependent on their advantage and necessity. These frameworks employ the
customers’ surveys to break down their sentiment and suggest a recommendation for their
exact need. In the drug recommender system, medicine is offered on a specific condition
dependent on patient reviews using sentiment analysis and feature engineering. Sentiment
analysis is a progression of strategies, methods, and tools for distinguishing and extracting
emotional data, such as opinion and attitudes. On the other hand, Featuring engineering is
the process of making more features from the existing ones; it improves the performance
of models.

ADVANTAGES OF PROPOSED SYSTEM:


The system is more effective since it presents the proposed algorithm used in
natural language processing responsible for counting the number of times of all the tokens
in review or document. The system has exact sentiment analysis prediction techniques for
Data Cleaning and Visualization.

SYSTEM ARCHITECTURE:

Architecture Diagram
IMPLEMENTATION DATA OWNER:
In this module, initially the data owner has to register to the cloud server and get
authorized. After the authorization from cloud data owner will encrypt and add file to the
cloud server where in after the addition of file data owner View All Uploaded Files, View
All Transactions. data files and store them in the cloud for sharing with cloud End users and
performs the following operations such as View All Owners and Authorize ,View All Users
and Authoriz, View All Cloud Files ,View All Transactions, View All Attackers ,View
File Score Results ,View Time Delay Results ,View Throughput Results.

AUTHENTICATE SERVER:
CA generates the content key and the secret key requested by the end user and also
View All Attackers.

CLEINT:
User has to register and login for accessing the files in the cloud. User is authorized
by the cloud to verify the registration. User has to View All Files Download.

CONCLUSION:
Whether go for shopping, purchase something online or go to some restaurant, we
first check the reviews to make the right decisions. Motivated by this, in this research
sentiment analysis of drug reviews was studied to build a recommender system using
different types of machine learning classifiers, such as Logistic Regression, Perceptron,
Multinomial Naive Bayes, Ridge classifier, Stochastic gradient descent, Linear SVC,
applied on Bow, TF-IDF, and classifiers such as Decision Tree, Random Forest, Lg bm, and
Cat boost were applied on Word2Vec and Manual features method. We evaluated them
using five different metrics, precision, recall, f1score, accuracy, and AUC score, which
reveal that the Linear SVC on TF- IDF outperforms all other models with 93% accuracy.
On the other hand, the Decision tree classifier on Word2Vec showed the worst performance
by achieving only 78% accuracy. We added best-predicted emotion values from each
method, Perceptron on Bow (91%), Linear SVC on TF-IDF (93%), LGBM on Word2Vec
(91%), Random Forest on manual features (88%), and multiply them by the normalized
useful Count to get the overall score of the drug by condition to build a recommender
system.

FUTURE ENHANCEMENT:
Future work involves comparison of different oversampling techniques, using
different values of n-grams, and optimization of algorithms to improve the performance
of the recommender system.

You might also like