urbanmobility / CSLSL

PyTorch implementation of the paper-"Human Mobility Prediction with Causal and Spatial-constrained Multi-task Network"
MIT License
9 stars 0 forks source link
human-mobility lbs-data mobility-prediction trajectory-prediction

CSLSL

Performances

The latest experimental results are as follows:

Category Location
R@1 R@5 R@10 R@1 R@5 R@10
NYC 0.327 0.661 0.759 0.268 0.568 0.656
TKY 0.448 0.801 0.875 0.240 0.488 0.580
Dallas - - - 0.126 0.243 0.297

Datasets

Requirements

Project Structure

Usage

  1. Train and test a new model

    python train_test.py --data_name NYC 
  2. Evaluate a pretrained model

    python evaluate.py --data_name NYC --model_name model_NYC

Detailed parameter description refers to evaluate.py and train_test.py