Logo Lanfrica

FehintoluSamuel/Ischemic-heart-disease-

Domain:

healthcare

Record type:

project
Creator:
Feh
Host:
This project explores ischemic heart disease trends in Nigeria using data visualizations and machine learning to uncover insights into mortality, healthcare access, and spending. --- # πŸ«€ Ischemic Heart Disease Analysis & Dashboard – Nigeria --- ## πŸ“Š Overview This project presents a **comprehensive data-driven analysis** of **Ischemic Heart Disease (IHD)** in Nigeria, focusing on trends, demographics, healthcare infrastructure, and expenditure. It includes: * A **Streamlit-powered interactive dashboard** for real-time exploration πŸ“ˆ * A **classification model** to predict heart disease risk using machine learning πŸ” > Built with Python, Pandas, Plotly, and scikit-learn. --- ## πŸš€ Features ### πŸ“‰ Exploratory Data Analysis * πŸ“† **Yearly Trends** in IHD deaths (by gender & age group) * ⚰️ **Top Causes of Death** comparison to IHD * πŸ₯ **Doctor-to-Patient Ratio** tracking over time * πŸ’° **Health Expenditure per Capita** visualization ### 🧠 Classification Modeling * Logistic Regression, Random Forest, and Decision Tree models evaluated * Key metrics: **Accuracy, Precision, Recall, F1 Score, Log Loss** * Decision Tree emerged as the best performer with **\~82% accuracy** ### πŸ–₯️ Interactive Dashboard (Streamlit) * Real-time bar, pie, and line charts * Responsive layout for seamless exploration * Clean, minimal design with actionable insights --- ## πŸ–ΌοΈ Dashboard Preview > --- ## πŸ—‚οΈ Project Structure ``` Ischemic-heart-disease-/ β”œβ”€β”€ analysis/ β”‚ β”œβ”€β”€ dashboard.py # Streamlit app source β”‚ β”œβ”€β”€ IHD_analysis.ipynb # Jupyter notebook (EDA + ML models) β”‚ β”œβ”€β”€ cleaned_data/ # Cleaned datasets β”‚ └── rough_data/ # Raw or semi-clean datasets β”‚ └── IHD_dashboard.jpeg β”œβ”€β”€ requirements.txt # Project dependencies β”œβ”€β”€ README.md # This file └── LICENSE ``` --- ## βš™οΈ Getting Started ### βœ… Prerequisites * Python 3.8+ * pip (Python package manager) ### πŸ’» Installation ```bash git clone github.com cd Ischemic-heart-disease- pip install -r requirements.txt ``` ### πŸš€ Run the Dashboard ```bash streamlit run /analysis/dash …