主权项 |
1. A method comprising:
by a computing device, determining a geo-location centroid of each of one or more geo-location clusters based on a distance between the geo-location centroid and each of one or more geo-location data points within each geo-location cluster, the geo-location centroid representing a center of the one or more-geo-location data points within its geo-location cluster, the geo-location data points representing one or more location readings from a mobile computing device associated with a user, the geo-location centroids being based at least in part on location readings obtained during a particular time of day of a particular day of a week; by the computing device, determining a routine center of one or more geo-location centroids based on a distance between each geo-location centroid and each routine center, each routine center representing a center of one or more geo-location centroids of the particular time of the particular day of the week; by the computing device, determining a time-based routine of the particular day of the week based at least in part on a number of routine centers of each particular time of day of the particular day of the week, the time-based routine comprising a pattern of a plurality of routine centers of a plurality of times of the day of the particular day of the week; and by the computing device, adjusting a frequency of polling of location readings from the mobile device based on the determined time-based routine. |