Giter VIP home page Giter VIP logo

graphembs's Introduction

GraphEmbs

Unsupervised Network Embeddings for Graph Visualization, Clustering and Classification

In this work we provide an unsupervised approach to learn embedding representations for a collection of graphs so that it can be used in numerous graph mining tasks. By using an unsupervised neural network approach [1] on input graphs, we aim to capture the underlying distribution of the data in order to discriminate between different class of networks. Our method is assessed empirically on synthetic and real life datasets and evaluated in three different tasks: graph clustering, visualization and classification.

The original paper can be found here

This code was tested on Debian GNU/Linux 8.11 (jessie), python 3.5.2

Usage

The script run_synthetic_graphs.py will allow to reproduce the visualization and clustering results reported in the above paper.

Example

Learning graph embeddings for Erdős–Rényi networks generated from different parameters. Visualizatiton is done with Multi-scale SNE tool [2]:

python run_synthetic_graphs.py -f ER -opc 0

emb

You can plot the graph embeddings faster with t-SNE by uncommenting the line data.visualize_tsne()

Clustering graph embeddings for Erdős–Rényi networks in the embedding space, as well as the evaluation of its performance with the normalized mutual information metric:

python run_synthetic_graphs.py -f ER -opc 1

Result:

Clustering graph embeddings...
1.0 +/- 0.0

Real life datasets

Here you can find the real life networks we used to perform the experiments that we shown in our paper:

  • Primary school temporal network data: This data set contains the temporal network of contacts between the children and teachers used in the study published in BMC Infectious Diseases 2014, 14:695. data
  • Air Transportation Multiplex: This is a multiplex network composed by many airlines operating in Europe. The dataset contains up to thirty-seven different layers each one corresponding to a different airline. data

References

[1] Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, and Pierre-Antoine Manzagol. 2010. Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion. J. Mach. Learn. Res. 11 (December 2010), 3371-3408.

[2] John A. Lee, Diego H. Peluffo-Ordóñez, Michel Verleysen, Multi-scale similarities in stochastic neighbour embedding: Reducing dimensionality while preserving both local and global structure,Neurocomputing, Volume 169, 2015, Pages 246-261.

graphembs's People

Contributors

leoguti85 avatar

Watchers

James Cloos 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.