Jeyadev R

AI / Healthcare

AI Drug-Food Interactions

NLP-Powered Interaction Classifier

AI Drug-Food Interactions: NLP-Powered Interaction Classifier

About this project

NLP + ML web app classifying drug-food interactions into 6 categories using TF-IDF vectorization and ensemble models (99.2% accuracy), with semantic search and a generated knowledge graph.

The problem

Patients rarely learn which foods interact with their medicines, and the information is scattered across sources.

Approach

An NLP and machine learning web app. TF-IDF features with bigrams feed ensemble models that classify each interaction into six categories, from contraindicated to safe. A knowledge graph stores drug, interaction type and food triplets, with semantic search and CSV export, built on Streamlit.

Results

Gradient boosting reached accuracy 0.992 and F1 0.992. Random forest reached 0.986.

Category
AI / Healthcare
Built by
Jeyadev R

Tech stack

  • Python
  • Streamlit
  • Scikit-learn
  • TF-IDF

More AI projects