predict_next_location
Use this skill when the user asks to predict next location, next stop, future geohash, likely destination, destination inference, or Markov-chain mobility prediction from historical trajectories.
SKILL.mdskills/custom/spatiotemporal_trajectory/predict_next_location/SKILL.md
GitHubpredict_next_location
Use this Skill on staypoint history to train a first-order transition model and optionally predict from a current geohash.
Command
cd /mnt/skills/custom/predict_next_location
python3 scripts/predict_next_location.py --input /path/to/staypoints.jsonl --output-dir /path/to/output --current-geohash wtw3s --top-k 5
Useful flags:
--current-time 2012-06-09T08:00:00 --geohash-precision 5 --train-only
Outputs
transition_matrix.jsonlpredictions.jsonlsummary.json
Next Skills
Use predictions with $analyze_spatiotemporal_accessibility or $fuse_spatial_evidence.