Git Product home page Git Product logo

sbm_node_embedding's Introduction

Word embedding for Community Detection in Graph

This repository contains all the functions and scripts for getting word2vec embeddings for community detection on graphs. For details please refer to the following paper:

W Ding, C Lin, P Ishwar, "Node Embedding via Word Embedding for Network Community Discovery", in arXiv preprint arXiv:1611.03028, 2016.

A shorter version of this is in IEEE ICASSP conference (2017).

Dependencies:

The functions in this repository requires only basic python packages (scipy, numpy, sklearn, and gensim). No additional installation is required.

Usage:

The functions to create embeddings and communities are in VEClib.py and utils.py.

Please check the example code in /example folder to see how these functions can be used for community detection.

We provide two example scripts in /example folder to demo how to use our code for community detection for simulated graphs, as well as real word graphs.

NOTE: /all_script folder has all the scripts for re-creating the plots in the abovementioned paper where we demonstrates the empirical performance around the information theory limits of Stochastic Block Models.

sbm_node_embedding's People

Contributors

cy93lin avatar

Watchers

 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.