AI-powered delivery ETA prediction system using Decision Trees and real-world features.
# π Morocco Delivery Intelligence
An AI-powered delivery system that predicts **Estimated Time of Arrival (ETA)** and determines whether a delivery will arrive **on time or late**, using machine learning.
---
## π Project Overview
This application simulates a real-world delivery system in Morocco.
It allows users to:
- Select a **warehouse city** and a **delivery destination**
- Predict the **ETA (Estimated Time of Arrival)**
- Determine whether the delivery will be **On Time or Late**
- Visualize the **delivery route on an interactive map**
---
## π§ Machine Learning
The system uses:
- **Decision Tree Model** for prediction
- Classification:
- β
On Time
- β Late
- Regression for ETA prediction
### Features used:
- Distance between cities
- Vehicule type
- Traffic level
- Weather conditions
- Product weight
---
## πΊοΈ Features
- π Interactive map with delivery route (Folium)
- β± ETA calculation
- π On-time vs Late prediction
- π§ Machine Learning integration
- π Morocco cities dataset
---
## π οΈ Tech Stack
- Python
- Streamlit
- Scikit-learn
- Pandas
- Folium
---
## π How to Run the App
```bash
# Clone the repository
git clone
github.com
# Navigate to the project folder
cd Morocco-Delivery-Intelligence
# Install dependencies
pip install -r requirements.txt
# Run the app
streamlit run app.py