Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 30

INTEGRATED ML WITH NLP

FRAME WORK FOR DRUG


RECOMMENDED SYSTEM
UNIVERSAL COLLEGE OF ENGINEERING AND TECHNOLOGY
Department Of Computer Science And Engineering

Under the guidence of


Mr.G.RANGANADH,M.TECH
Associate Professor
Presented By
Y.Navya 20NF1A0551
A.Revanth Inna Reddy 20NF1A0502
A.Guru Chaitanya 20NF1A0503
M.Babu Rao 21NF5A0502
ABSTRACT

 Since coronavirus has shown up, inaccessibility of legitimate


clinical resources is at its peak, like the shortage of specialists and
healthcare workers, lack of proper equipment and medicines etc.
EXISTING SYSTEM

 The entire medical fraternity is in distress, which results in numerous


individual’s demise. Due to unavailability, individuals started taking
medication independently without appropriate consultation, making the health
condition worse than usual.
DISADVANTAGES:
 As of late, machine learning has been valuable in numerous applications, and
there is an increase in innovative work for automation.
PROPOSED SYSTEM

 This Project intends to present a drug recommender system that can drastically
reduce specialist’s heap. In this research, we build a medicine recommendation
system that uses patient reviews to predict the sentiment using various
vectorization 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.
ADVANTAGES:
 The results show that classifier Multilayer Perception using BOW(BAG OF
WORDS) vectorization outperforms all other models with 99% accuracy.
SYSTEM SPECIFICATIONS

 HARDWARE REQUIREMENTS
 SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS

 System : PENTIUM IV 2.5 GHz Or intel core i3 or i5


 Hard Disk : 400 Gb
 RAM : 8 Gb
 Input : Keyboard and Mouse
 Output : Monitor,PC
SOFTWARE REQUIREMENTS

 Operating System : Windows 9


 Platform : Python
 Frontend : Python with Tkinter
 Backend : Drug Dataset
 Programming Language : Python
SYSTEM DESIGN

 UML Diagrams

 System Architecture

 Modules
UML
(UNIFIED MODEL LANGUAGE)
DIAGRAMS
SEQUENCE DIAGRAM

 A sequence diagram in Unified Modelling


Language (UML) is a kind of interaction
diagram that shows how process operate with
one another and in what order. It is a construct
of a message sequence chart. Sequence
diagrams are some times called event
diagrams, event scenarios , and timing
diagrams.
USER DATA FLOW DIAGRAM

 A Data Flow Diagram(DFD) is a traditional


way to visualize the information flows within
a system. A neat and clear DFD can depict
good amount of the system requirements
graphically. It can be manual , automated, or
a combination of both.
SYSTEM ARCHITECTURE
MODULES
 Upload Drug Review Dataset
 Read & Pre-process Dataset
 TF-IDF Features Extraction
 Train Machine Learning Algorithms
 Comparison Graph
 Recommend Drug from Test Data
 Upload Drug Review Dataset: using this module we will upload dataset to
application

 Read & Pre-process Dataset: using this module we will read all reviews, drug
name and ratings from dataset and form a features array.

 TF-IDF Features Extraction: features array will be input to TF-IDF algorithm


which will find average frequency of each word and then replace that word
with frequency value and form a vector. If word not appears in sentence then 0
will be put. All reviews will be consider as input features to machine learning
algorithm and RATINGS and Drug Name will be consider as class label.
 Train Machine Learning Algorithms: using this module we will input TF-IDF features
to all machine learning algorithms and then trained a model and this model will be
applied on test data to calculate prediction accuracy of the algorithm.

 Comparison Graph: using this module we will plot accuracy graph of each algorithm

 Recommend Drug from Test Data: using this module we will upload disease name
test data and then ML will predict drug name and ratings.
Upload Drug Review Dataset
 To run project double click on ‘run.bat’ file to get below screen
 In above screen click on ‘Upload Drug Review Dataset’ button to upload
dataset to application and to get below screen
Read & Pre-process Dataset
TF-IDF Features Extraction
Train Machine Learning Algorithms

.
Comparison Graph
Recommend Drug from Test Data
The overall flow of the drug
recommendation system
CONCLUSION

 Reviews are becoming an essential part of our daily lives; before going shopping, making an online
purchase, or visiting a restaurant, we first read reviews to help us make the best choices.

 A recommender system was developed using a variety of machine learning classifiers, including
Logistic Regression, Multilayer Perception, Multinomial Naive Bayes , Ridge classifier, Stochastic
Gradient Descent, Linear SVC, applied on BOW, TF-IDF .

 Using five distinct metrics—precision, recall, f1score, accuracy, and AUC score—we assessed them
and found that the Multilayer Perception on BOW performs 99% better than the other models.

You might also like