Drug Recommendation System

Help the Doctors!

Scroll

Drug Recommendation System

WHEN April 2019
Tools Used R, Shiny, ML-Clustering & Classification
Visit GitHub

Complete Shiny App that predicts the medical condition based on the users’ symptoms using Naïve-Bayes, k-means & SVM.

The primary goal of this project was to create an app that would assist physicians I determining the medical condition of the patients based on their symptoms and recommend appropriate drugs for them.

The data was obtained from a UC website where the customers who bought certain drugs provided their comment on why they bought it, what for and was it effective. We started working on the word usage and angle and moved towards using tf-idf vectors as features to determine the connection between the comments, drugs, ratings and the symptoms.

We started this processing by removing the stopwords and determined the number of unique drugs used. Since converting the comment into tf-idf vectors into features would spread the dataframe to its limits, we decided to work on just four medical conditions also considering the system performance limitations.

Moving on, we used multiple algorithms for this project so that we can narrow it down to 1. With different symptom different model performed well compared to the others.

So, we provided the result of all three. On a business level for future developments, we decided that the model with the highest accuracy along with the second most accuracy will be displayed for a second opinion perspective. The entire process was presented to the user through R Shiny app.