##IPython notebooks
rank_markov.ipynb
IPython notebook to recommend trajectories using methods described in paper.parse_results.ipynb
IPython notebook to generate performance tables (Table 3 and Table 4 in paper) using dumped results.
##Dataset
data/poi-Edin.csv
POI data in Edinburgh.poiID
POI identitypoiCat
POI categorypoiLon
POI longitudepoiLat
POI latitude
data/traj-Edin.csv
Trajectories in Edinburgh.userID
User identitytrajID
Trajectory identitypoiID
POI identitystartTime
Timestamp that the user started to visit this POIendTime
Timestamp that the user left this POI#photo
Number of photos taken by the user at this POItrajLen
Number of POIs visited in this trajectory by the userpoiDuration
The visit duration (seconds) at this POI by the user
data/poi-Glas.csv
POI data in Glasgow.data/traj-Glas.csv
Trajectories in Glasgow.data/poi-Melb.csv
POI data in Melbourne.data/traj-Melb.csv
Trajectories in Melbourne.data/poi-Osak.csv
POI data in Osaka.data/traj-Osak.csv
Trajectories in Osaka.data/poi-Toro.csv
POI data in Toronto.data/traj-Toro.csv
Trajectories in Toronto.data/rand-*.pkl
Dumped recommendations by methodRandom
described in paper.data/rank-*.pkl
Dumped recommendations by methodsPoiPopularity
andPoiRank
described in paper.data/tran-*.pkl
Dumped recommendations by methodsMarkov
andMarkovPath
described in paper.data/comb-*.pkl
Dumped recommendations by methodsRank+Markov
andRank+MarkovPath
described in paper.data/ijcai-*.pkl
Dumped recommendations by methodPersTour
proposed in this paper and its variantPersTour-L
.
##Usage To generate recommendations from scratch, please follow these four steps:
- Install rankSVM implementations and assign the directory/path to variable
ranksvm_dir
in notebookrank_markov.ipynb
. - Install Python modules imported in notebook
rank_markov.ipynb
. - Modify the value of dataset index variable
dat_ix
(feasible values:0, 1, 2, 3, 4
) to run notebookrank_markov.ipynb
on different dataset, results (.pkl file) will be saved in the directory specified by variabledata_dir
. - After running notebook
rank_markov.ipynb
on all 5 datasets, please run notebookparse_results.ipynb
to generate Table 3 and Table 4 in paper.
##Citation Please cite these two papers if you use this dataset in your work.
- Kwan Hui Lim, Jeffrey Chan, Christopher Leckie and Shanika Karunasekera. "Personalized Tour Recommendation based on User Interests and Points of Interest Visit Durations". In Proceedings of the 24th International Joint Conference on Artificial Intelligence (IJCAI'15). 2015.
- Dawei Chen, Cheng Soon Ong and Lexing Xie. "Learning Points and Routes to Recommend Trajectories". In Proceedings of the 25th ACM International Conference on Information and Knowledge Management (CIKM'16). 2016.