Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

SobowaleAhmed/Drug-Drug-Interaction-Risk-Classifier

Domain:

healthcare

Record type:

modelsoftware
Creator:
Sob
Host:
When two or more drugs are taken simultaneously, they can interact in ways that amplify, reduce, or completely alter each other's effects — sometimes with life-threatening consequences. In Nigeria, This model provides a fast, data-driven tool to flag potentially dangerous drug combinations before they are prescribed or dispensed. # 💊 Drug-Drug Interaction Risk Classifier ### A Nigeria-Focused Machine Learning & Deep Learning Pipeline --- ## 🧠 Overview This project builds an end-to-end **Drug-Drug Interaction (DDI) Risk Classification system** grounded in Nigerian healthcare context. It scrapes drugs registered by **NAFDAC (National Agency for Food and Drug Administration and Control)** from the public Greenbook, maps them against global interaction databases (TWOSIDES via PyTDC, OpenFDA, PubChem), engineers pharmacological features, and classifies interaction severity into 4 classes: | Class | Severity | Description | |-------|----------|-------------| | 0 | ✅ None | No known clinically relevant interaction | | 1 | 🟡 Mild | Minor — monitoring recommended | | 2 | 🟠 Moderate | Clinically significant — dose adjustment may be needed | | 3 | 🔴 Severe | Life-threatening — combination should be avoided | The project prioritises drugs common in Nigerian clinical practice: **antimalarials, antihypertensives, antibiotics, antiretrovirals (HIV/AIDS), antidiabetics, and antituberculosis agents.** --- ## 🗂️ Project Structure ``` drug-drug-interaction-nigeria/ │ ├── notebooks/ │ ├── 00_nafdac_scraper.ipynb # Scrape NAFDAC Greenbook → CSV (run first) │ ├── 01_eda.ipynb # Data loading, feature engineering, 7 EDA charts │ ├── 02_ml_models.ipynb # LR, RF, XGBoost + SHAP + full validation suite │ └── 03_lstm_notebook.ipynb # Keras DNN + PyTorch DNN (both frameworks) │ ├── app/ │ └── streamlit_app.py # Interactive DDI Risk Checker (3-tab Streamlit app) │ ├── models/ # Populated after running notebooks 02 & 03 │ ├── lr_model.pkl # Logistic Regression │ ├── rf_model.pkl # Random Forest │ ├── xgboost_best.pkl # XGBoost (tuned) │ ├── keras_dnn.h5 # Keras DNN weights │ ├── keras_dnn_savedmodel/ # Keras SavedModel format │ ├── pytorch_dnn_best.pt …

Visit

github.com

Tasks

text classification

Similar

CLINICALLY SIGNIFICANT DRUG-DRUG INTERACTION IN A LARGE ANTIRETROVIRAL TREATMENT CENTRE IN LAGOS, NIGERIA"A Clinical Drug\u2013Disease Interaction Dataset for Uganda "Developing a desktop application for drug-drug interaction checker ordered for chronic diseases in Ethiopian hospitals pharmacyStroke genetics informs drug discovery and risk prediction across ancestriesFreeMedForms: Managing drug-drug interactions. An open source model.Prediction of adverse drug reactions using drug convolutional neural networks

CLINICALLY SIGNIFICANT DRUG-DRUG INTERACTION IN A LARGE ANTIRETROVIRAL TREATMENT CENTRE IN LAGOS, NIGERIA

Background An important cause of treatment failure to antiretroviral therapy (AR

"A Clinical Drug\u2013Disease Interaction Dataset for Uganda "

"This dataset provides a structured and machine-readable compilation of drug\u2013disease treatment

Developing a desktop application for drug-drug interaction checker ordered for chronic diseases in Ethiopian hospitals pharmacy

Abstract Background Drug-drug interactions are a major cause of

Stroke genetics informs drug discovery and risk prediction across ancestries

International audience Previous genome-wide association studies (GWASs) of stroke - t

FreeMedForms: Managing drug-drug interactions. An open source model.

The FreeMedForms project includes the FreeDiams application. FreeDiams is a free and open source pha

Prediction of adverse drug reactions using drug convolutional neural networks

Prediction of Adverse Drug Reactions (ADRs) has been an important aspect of Pharmacovigilance becaus