Home

Awesome

SERM

This is the code of CIKM 17 short paper: "SERM: A Recurrent Model for Next Location Prediction in Semantic Trajectories".

About

In this repository, we propose a RNN-based model, namely SERM, to predict next location of LBSN users. SERM considers both squencial relations and semantic influence to generate the prediction result.

Files

There are four python files in the root path.

FilenameDescription
config.pyAll configurations in SERM model.
eval_tool.pyEvaluation functions and tools.
geo_data_decoder.pyPreprocessing for both New York Foursquare and Los Angelos Geo-Tweets.
train.pyTraining procedure of SERM. This is the entrace of SERM model.
PackageDescription
modelSource code of SERM model.

Dataset and external data

There are four floders to store the dataset and external data. Some large files are not available in this repository. Please download on link: https://pan.baidu.com/s/1NKZ4Tq86VIP0Ae5gSGGVcw password: 59z1

FolderDescription
dataPath of New York Foursquare and Los Angelos Geo-Tweets datasets.
featuresFeatures generated by preprocessing and decoder procedure.
pretrainedPretrained model of SERM which is able to reproduce the experimental result.
word_vecPretrained Glove word embeddings.

Reference

@inproceedings{YaoZHB17,
  author    = {Di Yao and
               Chao Zhang and
               Jian{-}Hui Huang and
               Jingping Bi},
  title     = {{SERM:} {A} Recurrent Model for Next Location Prediction in Semantic
               Trajectories},
  booktitle = {Proceedings of the 2017 {ACM} on Conference on Information and Knowledge
               Management, {CIKM} 2017, Singapore, November 06 - 10, 2017},
  pages     = {2411--2414},
  year      = {2017},
  url       = {https://doi.org/10.1145/3132847.3133056},
  doi       = {10.1145/3132847.3133056},
}