TUL icon indicating copy to clipboard operation
TUL copied to clipboard

embedding

Open Macielyoung opened this issue 8 years ago • 5 comments

Hello, I want to ask how to produce embedding vector ? Just use word2vec ?

Macielyoung avatar Sep 14 '17 07:09 Macielyoung

Thanks for your attention, you first split the long trajectory to short trajectory with time interval. Then you can use the word2vec tookite training the datasets

gcooq avatar Sep 19 '17 12:09 gcooq

You have defined your loss function, so do you call word2vec directly ? Your embedding vector has been trained in advance and doesn't exist in your code.

Macielyoung avatar Sep 19 '17 12:09 Macielyoung

I used the tool of word2vec, you can download this toolkit via python command. First pretraining all of the trajectory data by word2vec and saved these vectors, then you can use the sourcecode . I will upload the details and some about datasets soon.

gcooq avatar Sep 19 '17 12:09 gcooq

OK, thanks !

Macielyoung avatar Sep 19 '17 12:09 Macielyoung

Hello, I want to know how you concatenate the location points within six hours of the original Gowalla data into a track. Can you share the code?

mingzhang798 avatar Aug 08 '22 09:08 mingzhang798