/Trajectory_Recovery

Demystifying Trajectory Recovery From Ash: An Open-Source Evaluation and Enhancement

Primary LanguageJupyter NotebookMIT LicenseMIT

Trajectory Recovery

This repository contains an implementation and enhancement of the trajectory recovery algorithm proposed by Xu et al. in "Trajectory Recovery From Ash: User Privacy Is NOT Preserved in Aggregated Mobility Data" (2017) [1]. It is supplied as a Python module and as a Jupyter Notebook with detailed step-by-step explanations.

We evaluate the algorithm on two open-source datasets: GeoLife [2] and Porto Taxi [3].

  • data/ contains all the preprocessed datasets.
  • results-a/ contains plotted results and pickle files of the results for the re-implementation as presented in [1]. It also contains plots of all the predicted trajectories against the true ones.
  • results-b/ contains all the content as above for our enhanced version. It also contains comparative plots of various metrics.
  • algorithm_walkthrough.ipynb is the Jupyter Notebook explaining the algorithm.
  • documentation.pdf is the documentation for the Python module.
  • trajectory_recovery.py is the Python module.

References:


This project is licensed under the MIT License - see the LICENSE file for details.