Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
| 1 |
+
# π Urban Mobility Pricing & Satisfaction App
|
| 2 |
+
|
| 3 |
+
## π Project Overview
|
| 4 |
+
This project analyzes a European urban mobility startup operating in:
|
| 5 |
+
- Paris
|
| 6 |
+
- Berlin
|
| 7 |
+
- Madrid
|
| 8 |
+
- Warsaw
|
| 9 |
+
- Turin
|
| 10 |
+
|
| 11 |
+
Goal:
|
| 12 |
+
π Optimize pricing strategy and user satisfaction using:
|
| 13 |
+
- Ride data (quantitative)
|
| 14 |
+
- App reviews (qualitative)
|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
## π§ Pipeline
|
| 19 |
+
|
| 20 |
+
### 1. Data Processing (Notebook 1)
|
| 21 |
+
- Synthetic ride data (2,000 rides)
|
| 22 |
+
- Review data (500 reviews)
|
| 23 |
+
- Data cleaning & preprocessing
|
| 24 |
+
- VADER sentiment analysis
|
| 25 |
+
- Output: `merged_summary.csv`
|
| 26 |
+
|
| 27 |
+
### 2. Predictive Modelling (Notebook 2)
|
| 28 |
+
- Random Forest classifier β predict satisfaction
|
| 29 |
+
- Feature importance β price is key driver
|
| 30 |
+
- ARIMA β revenue forecasting
|
| 31 |
+
- Output:
|
| 32 |
+
- `rf_model.pkl`
|
| 33 |
+
- encoder files
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## π» Hugging Face App
|
| 38 |
+
|
| 39 |
+
### πΉ Dashboard
|
| 40 |
+
- KPI overview (price, rating, sentiment, cancellation)
|
| 41 |
+
- Interactive charts by city and vehicle type
|
| 42 |
+
|
| 43 |
+
### πΉ Prediction
|
| 44 |
+
- Input ride parameters
|
| 45 |
+
- Output:
|
| 46 |
+
- satisfaction probability
|
| 47 |
+
- predicted label (High / Low)
|
| 48 |
+
|
| 49 |
+
### πΉ Recommendation
|
| 50 |
+
- Pricing recommendation logic based on segment
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## βοΈ Technologies Used
|
| 55 |
+
- Python (pandas, numpy)
|
| 56 |
+
- scikit-learn (Random Forest)
|
| 57 |
+
- statsmodels (ARIMA)
|
| 58 |
+
- VADER Sentiment Analysis
|
| 59 |
+
- Gradio (UI)
|
| 60 |
+
- Hugging Face Spaces
|
| 61 |
+
|
| 62 |
---
|
| 63 |
+
|
| 64 |
+
## π Key Insights
|
| 65 |
+
- Final price is the strongest driver of satisfaction
|
| 66 |
+
- E-scooters have highest usage but lower sentiment
|
| 67 |
+
- Discounts improve ratings
|
| 68 |
+
- Revenue stabilizing in mature markets
|
| 69 |
+
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
## π Deliverables
|
| 73 |
+
- Hugging Face Space (this app)
|
| 74 |
+
- Data pipeline notebooks (.ipynb)
|
| 75 |
+
- Predictive model
|
| 76 |
+
- Interactive dashboard
|
| 77 |
+
|
| 78 |
---
|
| 79 |
|
| 80 |
+
## π₯ Team
|
| 81 |
+
Group 08 β AI for Big Data Management
|