Coder Social home page Coder Social logo

dcrs's Introduction

Encoding Node Diffusion Competence and Role Significance for Network Dismantling

The official PyTorch implementation of DCRS in the following paper:

Jiazheng Zhang, Bang Wang. 2023. Encoding Node Diffusion Competence and Role Significance for Network Dismantling.
In WWW'23, April 30 โ€“ May 4, 2023, Austin, Texas, USA, 12 pages.

Dependencies

  • torch 1.7.1
  • igraph 0.9.9
  • networkx 2.6.3
  • scipy 1.5.4
  • sklearn 0.24.2
  • numpy 1.19.5
  • dgl 0.7.0

Install all dependencies using

pip install -r requirement.txt

Usage

  1. Unzip the data.zip and put them in the folder .\data .
  2. Train and evaluate the model on real-world networks :
python train_realworld.py
  1. Train and evaluate the model on synthetic networks :
python train_synthetic.py --Type BA --N 1000 --M 4

--Type argument should be one of [ BA, WS, PLC, ER], --N set the size of synthetic networks, --M set the synthetic generation parameter.

Citation

Please cite our work if you find our code/paper is helpful to your work.

@inproceedings{zhang2023DCRS,
  title={Encoding Node Diffusion Competence and Role Significance for Network Dismantling},
  author={Zhang, Jiazheng and Wang, Bang},
  booktitle={Proceedings of the 2023 ACM Web Conference},
  series={WWW'23},
  year={2023},
  location={Austin, Texas, USA},
  numpages={12}
}

dcrs's People

Contributors

jiazhengzhang 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.