DeepMove
[WWW 2018] DeepMove: Predicting Human Mobility with Attentional Recurrent Network
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: acm.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Keywords
Repository
[WWW 2018] DeepMove: Predicting Human Mobility with Attentional Recurrent Network
Basic Info
- Host: GitHub
- Owner: vonfeng
- License: gpl-2.0
- Language: Python
- Default Branch: master
- Homepage: https://vonfeng.github.io/files/WWW2018_DeepMove.pdf
- Size: 143 MB
Statistics
- Stars: 154
- Watchers: 2
- Forks: 54
- Open Issues: 6
- Releases: 0
Topics
Metadata Files
README.md
Update
We are excited to announce AgentMove, an LLM-based agentic framework designed for zero-shot mobility prediction. Leveraging the world knowledge and sequential modeling capabilities of LLMs, AgentMove paves the way for a promising new direction in mobility prediction.
DeepMove
PyTorch implementation of WWW'18 paper-DeepMove: Predicting Human Mobility with Attentional Recurrent Networks link
Datasets
The sample data to evaluate our model can be found in the data folder, which contains 800+ users and ready for directly used. The raw mobility data similar to ours used in the paper can be found in this public link.
Requirements
- Python 2.7
- Pytorch 0.20
cPickle is used in the project to store the preprocessed data and parameters. While appearing some warnings, pytorch 0.3.0 can also be used.
Project Structure
- /codes
- main.py
- model.py # define models
- sparse_traces.py # foursquare data preprocessing
- train.py # define tools for train the model
- /pretrain
- /data # preprocessed foursquare sample data (pickle file)
- /docs # paper and presentation file
- /resutls # the default save path when training the model
Usage
- Load a pretrained model:
>
python > python main.py --model_mode=attn_avg_long_user --pretrain=1 >
The codes contain four network model (simple, simplelong, attnavglonguser, attnlocallong) and a baseline model (Markov). The parameter settings for these model can refer to their res.txt file.
|modelincode | modelinpaper | top-1 accuracy (pre-trained)| :---: |:---:|:---: |markov | markov | 0.082| |simple | RNN-short | 0.096| |simplelong | RNN-long | 0.118| |attnavglonguser | Ours attn-1 | 0.133| |attnlocallong | Ours attn-2 | 0.145|
- Train a new model:
>
python > python main.py --model_mode=attn_avg_long_user --pretrain=0 >
Other parameters (refer to main.py): - for training: - learningrate, lrstep, lrdecay, L2, clip, epochmax, dropoutp - model definition: - locembsize, uidembsize, timembsize, hiddensize, rnntype, attntype - history_mode: avg, avg, whole
Citation
If you find this work helpful, please cite our paper.
latex
@inproceedings{feng2018deepmove,
title={Deepmove: Predicting human mobility with attentional recurrent networks},
author={Feng, Jie and Li, Yong and Zhang, Chao and Sun, Funing and Meng, Fanchao and Guo, Ang and Jin, Depeng},
booktitle={Proceedings of the 2018 world wide web conference},
pages={1459--1468},
year={2018}
}
Owner
- Name: Jie Feng
- Login: vonfeng
- Kind: user
- Location: Beijing
- Company: Tsinghua University
- Website: https://vonfeng.github.io/
- Repositories: 1
- Profile: https://github.com/vonfeng
I am a researcher in urban science and spatio-temporal data mining.
GitHub Events
Total
- Issues event: 5
- Watch event: 17
- Issue comment event: 2
- Push event: 2
- Fork event: 2
Last Year
- Issues event: 5
- Watch event: 17
- Issue comment event: 2
- Push event: 2
- Fork event: 2
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 12
- Total pull requests: 1
- Average time to close issues: almost 2 years
- Average time to close pull requests: N/A
- Total issue authors: 12
- Total pull request authors: 1
- Average comments per issue: 1.08
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: 11 days
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- DongZheng0030 (1)
- pshijie (1)
- blldd (1)
- 1Priyanshu (1)
- JerryLife (1)
- ikaurrr (1)
- Deepsea35 (1)
- hejl2416 (1)
- Einstone-edge (1)
- jverygood (1)
- zhfff4869 (1)
- vaibhav90 (1)
Pull Request Authors
- gunarto90 (1)