SmartFare Egypt is a machine learning-powered web app that estimates and compares ride fares from Uber, Careem, and InDrive in Egypt based on distance, duration, traffic, and vehicle type β helping users find the most cost-effective ride.
# π SmartFare Egypt β Intelligent Ride Fare Estimator
SmartFare Egypt is a **machine learning-powered** application that predicts ride-hailing fares in Egypt and compares prices between **Uber**, **Careem**, and **InDrive**.
The project uses **synthetic ride data** and machine learning models to estimate fares based on trip **distance**, **duration**, **peak hours**, and **vehicle type**. It helps users make cost-effective ride choices by showing real-time fare comparisons.
β οΈ **Note:** Since the dataset is synthetic, the results will differ from actual fares provided by the companies in real-time.
---
## π Features
- **Ride fare prediction** using ML models
- **Provider comparison** (Uber, Careem, InDrive)
- Considers **distance, duration, and peak hours**
- Detailed **EDA report** with insights on data trends
- Visual comparison of model performance
- Prepared for deployment with **Streamlit** interface
---
## π Tools & Technologies Used
- **Python** β Main programming language
- **Pandas** β Data manipulation
- **NumPy** β Numerical operations
- **Matplotlib** & **Seaborn** β Data visualization
- **Scikit-learn** β Machine learning models
- **XGBoost** β Gradient boosting model
- **ydata_profiling** β Automated EDA report
- **Joblib** β Model saving/loading
- **Streamlit** β Web application framework
- **ChatGPT** β Assisted in project documentation
---
## π Project Structure
```
smartfare-egypt/
βββ app.py # Streamlit main app
βββ model.pkl # Trained ML model (Random Forest)
βββ egypt_eda_report.html # EDA analysis report
βββ assets/ # Project images
β βββ mae_comparison.png
β βββ r2_score_comparison.png
β βββ demo_streamlit.webm
βββ requirements.txt # Python dependencies
βββ notebooks/ # Jupyter notebooks for model development
β βββ model_development.ipynb
βββ README.md
```
---
## π How to Run
1. **Clone the repository:**
```bash
git clone
github.com β¦