Git Product home page Git Product logo

graphstone's Introduction

GraphSTONE

A TensorFlow implementation of GraphSTONE, as described in our paper:

Graph Structural-topic Neural Network (KDD 2020, Research Track)

See our Paper, and Slides.

How to Use

python main.py

Dependencies

Tensorflow 1.10.0, Networkx 1.11, Python 3

Data

We provide cora and ppi datasets as examples under data/cora and data/ppi.

Note that the data/dataset_name/features.npy has undergone a dimensionality reduction via PCA, and is not identical to the original cora features.

Parameters

For parameter settings, please see conf.json.

Some parameter definitions:

Name Default Note
dataset cora dataset name
input_node_feature True input original node features ("True") or not ("False")
PreProcess/number_paths 50 number of paths from a center node, for generating "word" and "document" concepts on graphs
PreProcess/path_length 15 max length of random walks from a center node, for generating "word" and "document" concepts on graphs
TopicModel/number_topic 5 number of structural-topics
TopicModel/max_features_dim 2500 max topic_features (for the input of structural-topic GNN) dimension
TopicGCN/max_training_steps 5000 max steps for training

Acknowledgments

Certain parts of this project are partially derived from GraLSP and AnchorRecovery.

graphstone's People

Contributors

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