Calculates location entropy per taxi driver from the EPFL Cabspotting GPS dataset to analyze mobility patterns.
- Source: EPFL Cabspotting - San Francisco Taxi GPS Traces
- Size: 536 taxi drivers, ~11M GPS records
-
Create a virtual environment
cd main python -m venv venv -
Activate the environment
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Windows:
-
Install dependencies
pip install -r requirements.txt
-
Start Jupyter:
jupyter notebook
-
Open
location_entropy_cabspotting.ipynb -
Run all cells (
Cell→Run AllorShift+Enterper cell)
entropy_results.csv- Entropy values per driverentropy_analysis.png- Visualization of entropy distribution