An open API service indexing awesome lists of open source software.

https://github.com/sedefkjamili/dengai-ml-prediction

Machine learning project for predicting dengue fever outbreaks using climate and environmental data.
https://github.com/sedefkjamili/dengai-ml-prediction

data-science dengue gradient-boosting healthcare machine-learning python scikit-learn time-series

Last synced: about 1 month ago
JSON representation

Machine learning project for predicting dengue fever outbreaks using climate and environmental data.

Awesome Lists containing this project

README

          

# 🦟 DengAI
Machine learning project for predicting dengue fever outbreaks using climate and environmental data.

DengAI is a machine learning project focused on predicting weekly dengue fever outbreaks using climate and environmental data. The project compares traditional regression techniques with ensemble learning methods to forecast dengue case counts for two tropical cities: San Juan (Puerto Rico) and Iquitos (Peru).

## πŸš€ Overview

Dengue fever is a mosquito-borne disease strongly influenced by environmental and climatic conditions such as temperature, humidity, precipitation, and vegetation. Early prediction of outbreaks can help public health organizations allocate resources more effectively and reduce the spread of disease.

This project uses machine learning models trained on historical climate and epidemiological data from the DrivenData DengAI competition dataset.

## πŸ” Features

### πŸ“Š Data Preprocessing
- Missing value imputation using city-specific averages
- Time-aware train/validation split
- Separate modeling for each city
- Seasonal feature handling using `weekofyear`

### πŸ”¬ Feature Engineering
- Climate and environmental indicators
- Vegetation indices (NDVI)
- Temperature and humidity variables
- Time-series aware structure

### 🧠 Machine Learning Models
- Polynomial Regression (Baseline)
- Gradient Boosting Regression
- Time-series forecasting evaluation

### πŸ“ˆ Performance Evaluation
- Mean Absolute Error (MAE)
- Comparison between baseline and ensemble models
- Forecasting horizon analysis
- Feature importance visualization

## πŸ—‚οΈ Repository Structure

```text
DengAI/
β”œβ”€β”€ data/ # Prediction outputs and datasets
β”œβ”€β”€ notebooks/ # Jupyter notebooks for training and analysis
β”œβ”€β”€ reports/ # Presentation slides and project report
β”œβ”€β”€ images/ # Figures, plots, and visualizations
β”œβ”€β”€ src/ # Source code for preprocessing and modeling
β”œβ”€β”€ requirements.txt # Python dependencies
└── README.md # Project documentation
```

## πŸ§ͺ Technologies & Libraries

- Python 3.10+
- scikit-learn
- Pandas
- NumPy
- Matplotlib
- Seaborn
- Jupyter Notebook

## βš™οΈ Installation

Clone the repository:

```bash
git clone https://github.com/YOUR_USERNAME/DengAI.git

cd DengAI
```

## Install dependencies:

```bash
pip install -r requirements.txt
🧠 Model Training & Evaluation
```

Run the notebook:

```bash
jupyter notebook
```
or execute training scripts inside /src.

## πŸ“Š Results
Gradient Boosting Regression significantly outperformed Polynomial Regression.
Polynomial models showed overfitting at higher degrees.
Best performance was achieved using short-term forecasting horizons.
Environmental variables such as temperature and vegetation indices were among the most influential features.

## πŸ“š Dataset Source
- [DrivenData – DengAI: Predicting Disease Spread](https://www.drivendata.org/competitions/44/dengai-predicting-disease-spread/)
- Climate and environmental datasets for:
- San Juan, Puerto Rico
- Iquitos, Peru

## πŸ‘©β€πŸ’» Authors
- Rabia Şevval Aydın
- Sedef Kjamili

Istanbul Technical University - Machine Learning Course Term Project

## πŸ“„ License

This project is for academic and educational purposes.