Git Product home page Git Product logo

tsci's Introduction

TSCI (Trajectory-based Social Circle Inference)

This is the implementation of the deep learning based TSCI model: DeepTSCI.

Environment

  • python >= 2.7
  • Tensorflow 1.0 or ++

Trajectory splitting and POI embedding

  • To capture mobility patterns of trajectories, We first split each trajectory into sub-trajectories based on the fixed time interval (see the paper for the detailed explanation).
  • Next, we embed POIs into low-dimensional vectors using the common method: wordv2vec.

Dataset

We use four different Location-based Social Network data as follows.

Usage

Using Gowalla data as the example here, similarly to other datasets.
To run LSTM-based DeepTSCI, python GW_LSTM.py/GW_BLSTM.py. The outcome including model and results will be in the folder of out_data.
To run VAE-based DeepTSCI, run the following commands (pre-training and training):

  • python GW_VAE.py
  • python GW_VAE_S.py

Reference

Hope such an implementation could help you on your projects. Any comments and feedback are appreciated.

tsci's People

Contributors

gcooq avatar

Stargazers

 avatar Yifei Jin avatar Dawny Wu avatar Hassan Abedi avatar Yunxiang Zhao avatar Tiny Tom avatar  avatar

Watchers

James Cloos avatar  avatar

tsci's Issues

Paper Request

Hey Qiang,
Could you plz share the PDF version of your paper: "Trajectory-based social circle inference"?
Thank you!

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.