Search code examples
timegeolocationlocationcluster-computingcluster-analysis

Clustering based on location and time


I am trying to figure out whether I am home, at university or somewhere else based on gps coordinates and timestamps.

For example: I have some entries at the same locations at 8:00, 9:00 and so on, and at 12:00 location changes -> so 8-14 should be classified as school time and that location should be marked as university place.

My questions is: what do I need to achieve this? Any suggestion is welcome. Thanks

Edit: I want to do this in python.


Solution

  • Use classification, not clustering. "University" is not something a clustering will output.

    Also, do you need time?

    Just label with a nearby known coordinate. Home ± x is home, university ±y (with probably a larger y, or maybe multiple locations is university.