Skip to content
/ PRUNE Public

PRUNE: Preserving Proximity and Global Ranking for Network Embedding

License

Notifications You must be signed in to change notification settings

ntumslab/PRUNE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRUNE

Build Status

PRUNE is an unsupervised generative approach for network embedding.

Design properties PRUNE satisfies: scalability, asymmetry, unity and simplicity.

The approach entails a multi-task Siamese neural network to connect embeddings and our objective, preserving global node ranking and local proximity of nodes.

Deeper analysis for the proposed architecture and objective can be found in the paper (please see - PRUNE):

PRUNE: Preserving Proximity and Global Ranking for Network Embedding
Yi-An Lai+, Chin-Chi Hsu+, Wen-Hao Chen, Ming-Han Feng, and Shou-De Lin
Advances in Neural Information Processing Systems (NIPS), 2017
+: These authors contributed equally to this paper.

This repo contains reference implementation of PRUNE.

Usage

Example

Run PRUNE on the sample graph:

python src/main.py --inputgraph sample/graph.edgelist

Options

Check out optional arguments such as learning rate, epochs, GPU usage by:

python src/main.py --help

Input

Supported graph format is the edgelist:

node_from node_to

Input graph are treated as directed.

Output

A comma-separated table of embeddings, the k-th row represents the k-th node's embeddings:

node_0  embed_dim1, embed_dim2, ...
node_1  embed_dim1, embed_dim2, ...
        ...

Requirements

Install all dependencies:

pip install -r requirements.txt

This implementation is built on tensorflow 1.1.0. If using Mac OS or encountering other problems, see detailed TensorFlow installation guild at: https://www.tensorflow.org/versions/r1.1/install/

Citing

If you find PRUNE useful in your research, please consider citing the paper:

PRUNE: Preserving Proximity and Global Ranking for Network Embedding, NIPS 2017.

Miscellaneous

If having any questions, please contact us: Yi-An Lai ([email protected]) or Chin-Chi Hsu ([email protected]).

About

PRUNE: Preserving Proximity and Global Ranking for Network Embedding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages