Losartan Adverse Effects Analysis
Multi-Modal Machine Learning for Pharmacovigilance
Advanced ML analysis of Losartan 50mg adverse effects using FDA FAERS data. Combining 5 machine learning models with propensity scoring for comprehensive drug safety assessment and predictive risk analysis.
Comprehensive Analysis Pipeline
End-to-end pharmacovigilance research powered by machine learning
Data Collection
Automated fetching from FDA FAERS API with multi-source validation including EudraVigilance, WHO VigiAccess, and Health Canada databases.
Feature Engineering
Advanced feature extraction including age groups, severity scores, frequency encoding, and demographic standardization.
Multi-Model ML
Ensemble approach combining Logistic Regression, Random Forest, Gradient Boosting, Neural Networks, and Voting Classifiers.
Propensity Scoring
Novel risk assessment combining severity rates and frequency with reliability scores for statistical confidence.
Visualizations
16 professional charts including EDA plots, ROC curves, confusion matrices, and feature importance analysis.
Comprehensive Reports
Executive summaries, detailed methodology documentation, and clinical recommendations for healthcare providers.
Machine Learning Models
Five distinct models evaluated on accuracy, F1 score, and ROC AUC
Top 10 High-Risk Adverse Events
Ranked by propensity score (severity rate × log(1 + frequency))
| Rank | Adverse Event | Risk Level | Propensity | Severity % | Reports |
|---|---|---|---|---|---|
| 1 | Cough | Very High | 1.525 | 44.8% | 29 |
| 2 | Angioedema | High | 1.298 | 34.1% | 44 |
| 3 | Insomnia | High | 1.290 | 37.9% | 29 |
| 4 | Nausea | High | 1.180 | 32.4% | 37 |
| 5 | Hyperkalemia | High | 1.114 | 30.0% | 40 |
| 6 | Dizziness | High | 1.082 | 32.1% | 28 |
| 7 | Upper Respiratory Infection | Moderate | 0.962 | 28.6% | 28 |
| 8 | Renal Impairment | Moderate | 0.938 | 27.6% | 29 |
| 9 | Headache | Moderate | 0.874 | 25.0% | 32 |
| 10 | Hypotension | Moderate | 0.792 | 20.9% | 43 |
Open Source on GitHub
Complete codebase, datasets, and documentation available for research and collaboration
# Clone the repository git clone https://github.com/YOUR_USERNAME/losartan-adverse-effects-analysis.git # Install dependencies pip install -r requirements.txt # Run analysis python src/losartan_adverse_effects_analysis.py