It's not terrible complicated. Our model computes the probability of going from place A to place B given some hierarchy of containers (think countries, regions, cities, neighborhoods).
Then, we take a long trajectory of mobility (like your Google Maps GPS data for a year) and find the hierarchical partition of space that makes all the trips in your data as likely as possible, as estimated by this equation. Standard MLE to use a fancy term.
This produces two (pretty sweet) things.

(1) It gives you a hierarchical partition of space unique to YOU (person whose data is analyzed). It finds buildings, neighborhoods, cities, etc.

Try it with your own data, @lau_retti has our code up: https://github.com/lalessan/scales_human_mobility
(2) It assigns a scale to each trip in your data. Was this trip between buildings within a neighborhood or was it between cities in a region? Of course these scales are simply represented by indices, but enriching movement data like this is useful for a myriad of applications!
A final (extra sweet) fruit of this model is that once it has been fitted, it can be flipped on its head to create new synthetic mobility traces. It enables a new and much improved way of simulating human mobility.
Thanks to my amazing co-authors @lau_retti and @suneman. This research was the most fun and meaningful thing I ever worked on in academia!
You can follow @ulfaslak.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled:

By continuing to use the site, you are consenting to the use of cookies as explained in our Cookie Policy to improve your experience.