Machine learning for activity pattern detection

Natalia Selini Hadjidimitriou*, Guido Cantelmo, Constantinos Antoniou

*Corresponding author for this work

Research output: Contribution to journalJournal articleResearchpeer-review


This paper proposes a data fusion approach to automatically detect activity patterns in a GPS dataset based on travel diaries and correct misclassification errors. The Activity Patterns Detection consists of a Supervised Learning framework, thanks to which the activity purposes in the travel diaries are learned and then predicted in the GPS dataset. Furthermore, we deploy Unsupervised Learning to identify similar spatial and temporal activities in the GPS dataset and, based on travel diaries, to correct the misclassification errors. This work shows that, based on a few observations in the travel diaries and a set of features such as the resting time before the activity takes place, the number of occurrences of the same trip and the percentage of the trip made during daytime and the speed, it is possible to detect activities with an overall accuracy of 90%. Since the GPS dataset does not have information on the activity performed by the user, in reality, the aggregated results are validated based on the Kolmogorov-Smirnov test. The experiment shows that, with a confidence level of 99%, the majority of spatial and temporal feature distributions of activities in the travel diaries dataset are similar to those in the GPS dataset. Thanks to this approach, planners and transport operators can automatically obtain spatial and temporal patterns of frequent activities in urban areas.
Original languageEnglish
JournalJournal of Intelligent Transportation Systems
Pages (from-to)1-15
Number of pages15
Publication statusAccepted/In press - 2023


  • Activity Recognition
  • Big Data applications
  • GPS
  • Travel survey
  • Urban informatics


Dive into the research topics of 'Machine learning for activity pattern detection'. Together they form a unique fingerprint.

Cite this