Git Product home page Git Product logo

pprei's Introduction

Towards Deeper Understanding of PPR-based Embedding Approaches: A Topological Perspective (PPREI)

This is our Pytorch implementation for the paper:

Xingyi Zhang, Zixuan Weng, Sibo Wang. Towards Deeper Understanding of PPR-based Embedding Approaches: A Topological Perspective." WWW 2024.

Requirements:

  • Python=3.10.12
  • PyTorch=1.12.0
  • Scipy=1.10.1
  • networkx=2.8.4
  • numpy=1.24.3

Preprocessing the dataset:

run processData

Parameters

  • f: the name of dataset
  • r: the rank of matrix
python processData.py -f Brazil

Training:

run PPR

Parameters

  • f: the name of dataset
  • r: the rank of matrix
  • a: the value of teleport probability
  • i: the number of training epoch
  • t: the step of PPR
  • e: the value of threshould
python  PPR.py -f Brazil.mat -r 128 -a 0.7 -i 40 -t 10 -e 1e-7

run network_stats_PPR

Parameters

  • f: the name of dataset
  • r: the rank of matrix
python network_stats_PPR.py -f Brazil.mat -r 128

Download datasets

https://drive.google.com/drive/folders/1zsCFA7U8ZKV1bg5g9IwNxqf1TzgGwokw?usp=sharing

Acknowledgements:

Part of the code refers to https://github.com/konsotirop/Invert_Embeddings, which is the official implementation of the paper:

Sudhanshu Chanpuriya, Cameron Musco, Konstantinos Sotiropoulos, Charalampos E. Tsourakakis. "DeepWalking Backwards: From Embeddings Back to Graphs." ICML 2021.

Reference:

Any scientific publications that use our codes should cite the following paper as the reference:

 @inproceedings{zhang&weng2024PPREI,
     title = "Towards Deeper Understanding of PPR-based Embedding Approaches: A Topological Perspective",
     author = {Xingyi Zhang and
     		  Zixuan Weng and
     		  Sibo wang},
     booktitle = {{WWW}},
     year = {2024},
 }

If you have any questions for our paper or codes, please send an email to [email protected].

pprei's People

Contributors

yukinoasuna avatar

Stargazers

 avatar Chiyu Hao avatar Josiah96Zhang avatar

Watchers

Kostas Georgiou avatar  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.