Coder Social home page Coder Social logo

icde2020_gmvsae's Introduction

Online Anomalous Trajectory Detection with Deep Generative Sequence Modeling (ICDE 2020)

How To Use (the new version)

Preprocessing

The processed data files (i.e., processed_porto_train.csv and processed_porto_val.csv) will be put in ./data.

Training

Example of training on Porto dataset:

python run_loop.py --mode=train --cluster_num=5 --num_epochs=5 --gpu_id=0 \ 
                   --model_dir=./ckpt --learning_rate=1e-4 --num_epochs=10 --pretrain_dir=./pretrain

More conveniently, we can run pretraining, training and evaluation via pretrain.sh, train.sh and eval.sh, respectively.

Parameters:

Name Type Description
mode enum(str) pretrain, train or evaluate.
data_filename str data file (e.g., ./data/processed_porto.csv).
map_size (int, int) size of the grid map.
token_dim int dimensionality of grid token.
rnn_dim int dimensionality of rnn hidden state.
cluster_num int number of Gaussian components.
model_dir str directory to save/load a model during training or eval.
pretrain_dir str directory to save/load a model during pretraining.
num_negs int number of negative samples during training.
optimizer enum(str) training optimizer (e.g., adam or sgd).
learning_rate float learning rate for training.
num_epochs int number of passes over the training data.
log_steps int number of batches to print the log info.

Citation

Please kindly cite the paper if this repo is helpful :)

@inproceedings{liu2020online,
  title={Online anomalous trajectory detection with deep generative sequence modeling},
  author={Liu, Yiding and Zhao, Kaiqi and Cong, Gao and Bao, Zhifeng},
  booktitle={2020 IEEE 36th International Conference on Data Engineering (ICDE)},
  pages={949--960},
  year={2020},
  organization={IEEE}
}

icde2020_gmvsae's People

Contributors

liuyiding1993 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.