Personal mobility pattern mining and anomaly detection in the GPS era