Coder Social home page Coder Social logo

nest's Introduction

Implementation of NEST, ASONAM 2018.

Please cite the following work if you find the code useful.

@inproceedings{yang2018node,
	Author = {Yang, Carl and Liu, Mengxiong and Zheng, Vincent and Han, Jiawei},
	Booktitle = {ASONAM},
	Title = {Node, motif and subgraph: learning network functional blocks through structural convolution},
	Year = {2018}
}

Contact: Carl Yang ([email protected])

Dependencies

pip install dill tqdm tensorflow

Pipeline

  • Match instances with motifs
# for cascade task
python preprocess.py
# for classification task
python prepare.py
  • Training and evaluating
python main.py

Parameters

  • To change dataset, modify the data_dir parameter in flags in main.py
  • kernel.json under each dataset directory defines the motifs to be matched, modify it to customize the motifs
  • For details of hyper-parameters, please refer to the comment in flags in main.py

Dataset

  • graph.txt contains the edge list of the complete graph, graph is undirected
  • train.txt contains the training data, each line is a data point, each data point is a subgraph
  • train/subgraph/ contains all the data points, one data point per file, each represented as an edge list
  • train/meta/ contains all the matched instances of motifs, one data point per file

nest's People

Contributors

aosifhosduig avatar mliu-dark-knight avatar yangji9181 avatar

Stargazers

 avatar

Watchers

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