Certification CDSD — Data Science & Deployment Project — Jedha Bootcamp
GetAround is a peer-to-peer car rental platform. Late vehicle returns create friction for subsequent rentals, leading to customer dissatisfaction and cancellations.
This project addresses two strategic challenges:
- Operational optimization — Analyzing late checkouts and simulating minimum delay thresholds to reduce conflicts between consecutive rentals.
- Pricing optimization — Serving a Machine Learning model via a production API to help owners set optimal daily rental prices.
- Measure how often drivers return cars late
- Quantify the impact on subsequent rentals
- Simulate different minimum delay thresholds (0 to 720 minutes)
- Help Product Management choose:
- an optimal delay threshold
- an appropriate scope (all cars vs Connect only)
- Train a ML model on car characteristics
- Serve predictions via a REST API
- Allow real-time price prediction through a
/predictendpoint
The interactive dashboard allows Product Managers to:
- Visualize the distribution of late checkouts
- Compare Connect vs Mobile check-in types
- Simulate the trade-off between blocked rentals and resolved issues
- Filter by scope and threshold in real time
🔗 https://huggingface.co/spaces/Dreipfelt/getaround-dashboard
| Property | Value |
|---|---|
| Algorithm | Random Forest Regressor |
| Target | rental_price_per_day (€) |
| R² score | ~0.68 |
| Features | 28 (mileage, engine_power, fuel, color, car_type, options...) |
- Method : POST
- Input : JSON with key
input— list of lists
curl -X POST "https://Dreipfelt-getaround-api.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{"input": [[150000, 120, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]]}'Response :
{"prediction": [104.75]}📄 Full documentation : https://Dreipfelt-getaround-api.hf.space/docs
Project_GetAround/
├── api/ # FastAPI application
│ ├── app.py # API endpoints
│ ├── Dockerfile # Docker configuration
│ └── feature_names.json # Model feature names
│
├── dashboard/ # Streamlit dashboard
│ ├── app.py # Dashboard application
│ └── requirements.txt
│
├── notebooks/ # Jupyter notebooks
│ ├── 01_EDA_delays.ipynb # Delay analysis
│ └── 02_ML_pricing.ipynb # ML model training
│
├── .gitignore
└── README.md
| Category | Tools |
|---|---|
| Language | Python 3.10 |
| Dashboard | Streamlit, Plotly |
| API | FastAPI, Uvicorn |
| ML | Scikit-learn, Random Forest |
| Deployment | Hugging Face Spaces, Docker |
| Version Control | Git, GitHub |
# Clone the repo
git clone https://github.com/Data-Science-Designer-and-Developer/Project_GetAround.git
cd Project_GetAround
# Install dependencies
pip install -r dashboard/requirements.txt
# Run the dashboard
streamlit run dashboard/app.py
# Run the API
cd api
uvicorn app:app --reload
# API available at http://localhost:8000Frédéric CDSD Candidate — Data Scientist Jedha Bootcamp