yaodi833 / trajectory2vec

code for "Trajectory clustering via deep representation learning"
180 stars 55 forks source link

The results of clustering #2

Closed Shinta2018 closed 5 years ago

Shinta2018 commented 5 years ago

Hi Di Yao!

Many thanks for your codes. Here is a question on the codes. The output of the clustering is the cluster of the moving behavior vector set. How do you get the clusters of the trajectories, like in the shape [[time1, lon1, lat1], [time2, lon2, lat2], ...]?

Thanks in advance. Cheers!

yaodi833 commented 5 years ago

Thanks for your interest. This repository is a lite version to show the main idea of the paper. For further usage, you should maintain a unique trajectory id for original trajectory, moving behavior sequence and trajectory embedding. Then, the clustering result can be mapped from the embedding to original trajectory.

Shinta2018 commented 5 years ago

I see. Thanks!