Giter Site home page Giter Site logo

oj9040 / gnn_community Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joanbruna/gnn_community

0.0 3.0 0.0 93 KB

Implementation of the paper "Community Detection with Graph Neural Networks", by J. Bruna and L. Li

License: BSD 3-Clause "New" or "Revised" License

Lua 96.83% Shell 3.17%

gnn_community's Introduction

GNN community

Implementation of the paper "Community Detection with Graph Neural Networks", by J. Bruna and L. Li https://arxiv.org/abs/1705.08415.

Running the code

The code is based on Lua Torch. See here for installation and basic tutorials.

The experiments on the Stochastic Block Model can be run with

th -i sbm.lua [options]

An example with fixed probabilities (a=5, b=1), using adam as optimizer and using 30 gnn layers:

th -i sbm.lua -mixture 0 -p 5 -q 1 -path /scratch/sbmp5q1/ -optmethod adam -gpunum 2 -layers 30

The experiments on real-world community detection are based on the Snap graphs with ground-truth community; see Stanford Network Analysis Project for more details. An example of running the model on such data is

th -i snap.lua -gpunum 1 -graph 'youtube'

gnn_community's People

Contributors

joanbruna avatar oj9040 avatar

Watchers

James Cloos avatar  avatar paper2code - bot 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.