vonfeng / deepmove Goto Github PK
View Code? Open in Web Editor NEWCodes for WWW'18 Paper-DeepMove: Predicting Human Mobility with Attentional Recurrent Network
License: GNU General Public License v2.0
Codes for WWW'18 Paper-DeepMove: Predicting Human Mobility with Attentional Recurrent Network
License: GNU General Public License v2.0
Hi, Jie
Sorry to bother you. Your work is excellent, but I have encountered some minor problems when reading the code.
At train.py in codes document, when defining generate_input_long_history2, there may be missing an indentation at every line from 145 to 154.
Do you have other two datasets about Shanghai and Beijing? ^>^
Hello, Thank you for this very interesting work! If anyone wants to run this on Python 3.7 with no cuda enabled, you need to do the following changes.
import cPickle as pickle -> import pickle
Avoid error while reading ASCII with pickle
data = pickle.load(open(self.data_path + self.data_name + '.pk', 'rb'))
- >
with open(self.data_path + self.data_name + '.pk', 'rb') as f:
u = pickle._Unpickler(f)
u.encoding = 'latin1'
data = u.load()
os.mkdir(SAVE_PATH + tmp_path)
- > os.makedirs(SAVE_PATH + tmp_path, exist_ok=True)
Hi Jie
I'm sorry to interrupt you. Your work is excellent. For some reasons, I can't access https://sites.google.com/site/yangdingqi/home/foursquare-dataset. Can you provide other ways to access the dataset? Thank you very much!
Zheng
Hi,Jie Feng
I am sorry to bother you. Your work is perfect, but I have encountered some minor problems when running the code.
When I run main.py as instructed, I get a ValueError: could not convert string to float at
data = pickle.load(open(self.data_path + self.data_name + '.pk', 'rb'))
I am running under Python 2.7.16 and ubuntu 18.04
Hi Jie, thank you for sharing.
I have two questions about the dataset:
Thank you for your time, :P
Lines 143 to 154 in 0acff5d
Hi Jie, thanks for your sharing!
I have benefited a lot after reading your paper, but I have some questions about the attributes in the foursquare.pk file.Could you explain this file?
Thank you!
Exception has occurred: UnicodeDecodeError
'ascii' codec can't decode byte 0xeb in position 2: ordinal not in range(128)
Hi vonfeng,when I execute data = pickle.load(open(self.data_path + self.data_name + '.pk', 'rb'))
it occur the exception.Could you please tell me the reason and how to load the data correctly? thanks
Python versions and slight changes in the code for testing with current versions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.