Code Monkey home page Code Monkey logo

trajectory2vec's Introduction

trajectory2vec

simulation in "Trajectory clustering via deep representation learning"

Required Packages:

Tensorflow = 0.11.0rc0, pandas = 0.19.0, sklearn = 0.17.1 traj_dist = https://github.com/maikol-solis/trajectory_distance

Useage:

simulate_data.py:

Generating the synthetic trajectories 'sim_trajectories' in /simulated_data/. Here, we only generate 30 trajectories as the sample.

tmb2vec.py:

Embed each trajectory to a fixed-length vector utiziling our framework. Five files is generated in /simulated_data/

  • sim_trajectories_complete : Trajectories after attributes completion.
  • sim_trajectories_feas : Elementary features computed by each pair of continuous records
  • sim_behavior_sequences : Behavior sequence generated sliding windows and Feature Extraction Layer
  • sim_normal_behavior_sequences : Moving behavior sequence after normalizaion
  • sim_traj_vec_normal_reverse : Vector of trajectories generated by Seq2Seq Auto-Encoder Layer

compared_methods.py:

Four distance based trajectory clustering methods(DTW, EDR, LCSS, Hausdorff) were compared with our framwork. After compution, distance matrixs are generated in /distances/.

Reference:

Besse P, Guillouet B, Loubes J M, et al. Review and perspective for distance based trajectory clustering[J]. arXiv preprint arXiv:1508.04904, 2015.

Citing trajectory2vec

"Yao, D., Zhang, C., Zhu, Z., Huang, J., & Bi, J. (2017, May). Trajectory clustering via deep representation learning. In Neural Networks (IJCNN), 2017 International Joint Conference on (pp. 3880-3887). IEEE."

trajectory2vec's People

Contributors

yaodi833 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.