GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yule-BUAA/DNNTSP: codes of DNNTSP model for Temporal Sets Prediction

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
model
model
 
 
results
results
 
 
runs
runs
 
 
save_model_folder
save_model_folder
 
 
test
test
 
 
train
train
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Predicting Temporal Sets with Deep Neural Networks (DNNTSP)

DNNTSP is a general neural network architecture that could make prediction on temporal sets.

Please refer to our KDD 2020 paper “Predicting Temporal Sets with Deep Neural Networks” for more details.

Project Structure

The descriptions of principal files in this project are explained as follows:

  • ./model/
    • weighted_graph_conv.py: codes for the Element Relationship Learning component (i.e. weighted GCN on dynamic graphs)
    • masked_self_attention.py and aggregate_nodes_temporal_feature.py: codes for the Attention-based Temporal Dependency Learning component (i.e. masked self-attention and weighted aggregation of temporal information)
    • global_gated_update.py: codes for the Gated Information Fusing component (i.e. gated updating mechanism)
  • ./train/
    • train_model.py and train_main.py: codes for training models
  • ./test/
    • testing_model.py: codes for evaluating models
  • ./utils/: containing useful files that are required in the project (e.g. data loader, metrics calculation, loss function, configurations)
  • ./data/: processed datasets are under in this folder. Original datasets could be downloaded as follows:
    • TaFeng
    • DC
    • TaoBao
    • TMS
  • ./save_model_folder/ and ./runs/: folders to save models and outputs of tensorboardX respectively
  • ./results/: folders to save the evaluation metrics for models.

Parameter Settings

Please refer to our paper for more details of parameter settings. Hyperparameters could be found in ./utils/config.json and you can adjust them when running the model.

How to use

  • Training: after setting the parameters, run train_main.py file to train models.
  • Testing: figure out the path of the specific saved model (i.e. variable model_path in ./test/testing_model.py) and then run testing_model.py file to evaluate models.

Principal environmental dependencies as follows:

  • PyTorch 1.5.0
  • dgl 0.5.2
  • tqdm
  • numpy
  • pandas
  • sklearn
  • tensorboardX

Citation

Please consider citing the following paper when using our code.

@inproceedings{DBLP:conf/kdd/YuSDL0L20,
  author    = {Le Yu and
               Leilei Sun and
               Bowen Du and
               Chuanren Liu and
               Hui Xiong and
               Weifeng Lv},
  title     = {Predicting Temporal Sets with Deep Neural Networks},
  booktitle = {{KDD} '20: The 26th {ACM} {SIGKDD} Conference on Knowledge Discovery
               and Data Mining, Virtual Event, CA, USA, August 23-27, 2020},
  pages     = {1083--1091},
  year      = {2020}
}

About

codes of DNNTSP model for Temporal Sets Prediction

Topics

data-minigdeep-learningtemporal-datatemporal-sets-prediction

Resources

Readme
Activity

Stars

34 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.