0% found this document useful (1 vote)
126 views4 pages

Blog Chatbot For Drug Recommendation

The document describes a chatbot for drug recommendation that was created using data scraped from medical websites. The chatbot was designed to (1) understand common health conditions that people search for online, like birth control, depression, and pain, (2) use machine learning models to analyze patient reviews and recommend drugs based on conditions, ratings, and usage, and (3) present recommendations to users through a conversational interface using natural language processing. The chatbot was trained on a dataset from Drugs.com containing patient reviews, ratings, and conditions to classify reviews and rank drugs. It was built with IBM Watson Assistant and deployed on a WordPress site for public use on phones and computers.

Uploaded by

Aishwarya Shetty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
126 views4 pages

Blog Chatbot For Drug Recommendation

The document describes a chatbot for drug recommendation that was created using data scraped from medical websites. The chatbot was designed to (1) understand common health conditions that people search for online, like birth control, depression, and pain, (2) use machine learning models to analyze patient reviews and recommend drugs based on conditions, ratings, and usage, and (3) present recommendations to users through a conversational interface using natural language processing. The chatbot was trained on a dataset from Drugs.com containing patient reviews, ratings, and conditions to classify reviews and rank drugs. It was built with IBM Watson Assistant and deployed on a WordPress site for public use on phones and computers.

Uploaded by

Aishwarya Shetty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Chatbot for drug Recommendation

How many times have you noticed a new ache or pain and, instead of scheduling a doctor
appointment, turned to Dr. Google to self-diagnose? Whether we’re checking symptoms
online or reading about whatever medical problem we’re sure we have, Health Information
Seeking Behavior – the act of self-researching our perceived medical issues – has become
quite pervasive in culture today.

We were curious about what exactly people were searching for when it came to their health,
so we decided to dissect data by scraping websites like MedScape, Druglib and so.We
selected a sample set out of the collected data and found out the following:

Top 5 conditions to be seen were


∙ Birth control
∙ Depression
∙ Pain
∙ Anxiety
∙ Acne
Advances in modern medicine have enabled health care to become increasingly precise.
This holds promise for patients, however, the increase in the number of possible treatment
options can make it difficult for physicians to decide on the best for a particular patient.
Developing a treatment recommender system could assist physicians in this task, but due to
the high-stakes nature of health care, it is imperative that medical ethics be integrated into its
design. After an overview of medical ethics, in this project, three key design features are
investigated – (1) the selection of machine learning/deep learning model as a learning
algorithm, (2) the exploratory data analysis to check the most relevant drugs based on
conditions,ratings,useful count, and (3) how recommendations are presented and whether
patients should be allowed to opt out of suggestions.

Description of the project


● The objective of our project is to build a chatbot to understand human inputs,
emotions and recommend drugs system based on health conditions using the reviews,
ratings, useful count given by users on Drugs.com.

● The data is scrapped from sites like Medscape, Drugs.com and for
recommendation we have used Deep Learning Model, Light GBM and LSTM model.

● The dataset provides patient reviews on specific drugs along with related
conditions and a 10-star patient rating reflecting overall patient satisfaction. The data
was obtained by scrapping pharmaceutical review sites named “Drugs.com”.

● Later a chatbot is built to understand human emotions related to their health


condition and recommend drugs from the recommendation system.

Models Used in the Project

1. We have worked on classifying our reviews into side effects, benefited, comments.
2. This is done on the basis of the rating score given by the user, when the score is 1-4,
we have classified the drug Into having side effect, when the score is between 6-10, we
classify the drug to be benefited
3. We have also used Light GBM model which is a fast, distributed, high-performance
gradient boosting framework based on decision tree algorithm, used for ranking,
classification and many other machine learning tasks
4. Finally, we have used LSTM model which is used to predict the next word using a
sample. LSTMs are very powerful in sequence prediction problems because they’re
able to store past information. This is important in our case because the previous review
of a drug is crucial in predicting future drugs for humans.
Chatbot

Based on the ranking provided against each medicine a dataset is created for our chatbot’s
reference.

We have used IBM Watson assistant as our platform to create our MedBot.

Document Chatbot requirements:

Intent Utterances Entity Action

Recommend “I need medicine {conditionofuser:} Look up the


condition and
Medicine for “{conditionofuser:}” display medicine

Our aim with an NLP based chatbot is to identify condition based on user’s layman content.

Intent creation:

Entity creation:

Dialogue flow:
Deployment:

We deployed our bot on a WordPress Site:

http://www.planetofsuccess.in/blog/

This is accessible to all on phone as well as on PC

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy