Git Product home page Git Product logo

htgn's Introduction

1. Overview

PyTorch Implementation for "Discrete-time Temporal Network Embedding via Implicit Hierarchical Learning in Hyperbolic Space (KDD2021)"

Authors: Menglin Yang; Min Zhou; Marcus Kalander; Zengfeng Huang; Irwin King

Paper: https://arxiv.org/pdf/2107.03767.pdf

Code: https://github.com/marlin-codes/HTGN

Framework of HTGN

2. Setup

2.1 Environment

pip install -r requirements.txt

2.2 Datasets

The data is cached in ./data/input/cached. The raw datasets are in the folder ./data/input/raw

Note:

3. Examples

3.0 Go to the script at first

cd ./script

3.1 To quickly run the code:

python main.py --model=HTGN --dataset=enron10

3.2 To run more examples about HTGN, static method, run the following

bash example/run_htgn.sh
bash example/run_static.sh
bash example/run_grugcn.sh

3.3 To run DySAT, please refer to DySAT;

3.4 To run EvolveGCN, please refer to EvolveGCN or run the file bash example/run_evolvegcn.sh;

3.5 To run VGRNN, please refer to VGRNN;

Note: for a unified comparison, we use inner product as decoder for the baseline models.

4. Some of the code was forked from the following repositories

5. Reference

[1] Discrete-time Temporal Network Embedding via Implicit Hierarchical Learning in Hyperbolic Space.

[2] Evolvegcn: Evolving graph convolutional networks for dynamic graphs.

[3] Variational graph recurrent neural networks.

[4] DySAT: Deep neural representation learning on dynamic graphs via self-attention networks

6. Citation

If you find this code useful, please cite the following paper:

@inproceedings{yang2021discrete,
  title={Discrete-time Temporal Network Embedding via Implicit Hierarchical Learning in Hyperbolic Space},
  author={Yang, Menglin and Zhou, Min and Kalander, Marcus and Huang, Zengfeng and King, Irwin},
  booktitle={Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery \& Data Mining},
  pages={1975--1985},
  year={2021}
}

htgn's People

Contributors

marlin-codes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

htgn's Issues

关于数据集文件损坏的问题

你好,我在该项目的谷歌硬盘中下载了数据集,其中facebook的数据文件(fbw.data)损坏了,代码无法运行。
请问能再上传一次该文件吗?

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.