Spaces:
Sleeping
Sleeping
| title: Uber Driver Recommendation System | |
| emoji: π | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: "4.31.0" | |
| python_version: "3.10" | |
| app_file: app.py | |
| pinned: false | |
| # π Uber Driver Recommendation System | |
| An intelligent, lightweight ML-powered recommendation system that suggests the best ride options for drivers by optimizing earnings, efficiency, and ride quality. | |
| --- | |
| ## π― Overview | |
| This project simulates a real-world ride allocation system (like Uber/Ola) where multiple ride requests are ranked and recommended to drivers using a machine learning model. | |
| The system focuses on: | |
| - Maximizing driver earnings π° | |
| - Minimizing idle time β±οΈ | |
| - Improving ride efficiency π | |
| --- | |
| ## π§ How It Works | |
| 1. Synthetic ride data is generated | |
| 2. Feature engineering calculates efficiency metrics | |
| 3. A Random Forest model predicts a reward score | |
| 4. Ride options are ranked based on score | |
| 5. Top recommendations are displayed with explanations | |
| --- | |
| ## βοΈ Features | |
| - β ML-based ride scoring engine | |
| - β Real-time recommendation simulation | |
| - β Explainable AI ("Why this ride?") | |
| - β Clean and minimal Gradio UI | |
| - β Fast and lightweight (HF Spaces ready) | |
| --- | |
| ## π Input Parameters | |
| - Pickup Distance (km) | |
| - Trip Distance (km) | |
| - Fare (βΉ) | |
| - Surge Multiplier | |
| --- | |
| ## π€ Output | |
| - Top 3 recommended rides | |
| - AI-generated score | |
| - Key reasons (high fare, low pickup, surge, etc.) | |
| --- | |
| ## π Run Locally | |
| ```bash | |
| pip install -r requirements.txt | |
| python app.py | |