/Beijing-Trajectories-Project

Analysis and transport mode classification of the GeoLife GPS Trajectories Dataset

Primary LanguageJupyter Notebook

Beijing-Trajectories-Project

Mode of transport classification using GeoLife GPS Trajectories Dataset (which can be found here: https://www.microsoft.com/en-us/research/publication/geolife-gps-trajectory-dataset-user-guide/)

Classification notebook

Scripts contained in the 'Cleaning' directory are to convert the raw data files into a useable format (e.g. converting lat/long to cartesian metres, splitting up trajectories by their labels).

The most important scripts for preprocessing:

userAnalysis.py - contains a class which represents a single user. Has methods for analysis of that user's trajectories

trajAnalysis.py - contains a class which represents a single trajectory. Has methods for analysis of that trajectory

generalAnalysis.py - contains functions for creating plots of different quantities using the user and trajectory classes

The Jupyter notebooks in Exploratory Analysis contain a summary of the findings as well as a few justifications for initial decisions such as deciding the position of the origin and the sampling rate.