GithubHelp home page GithubHelp logo

variational-graph-auto-encoders-tensorflow-2-spektral-'s Introduction

Variational Graph Auto-encoders (Tensorflow 2 + Spektral)

This is a re-implementation of the Graph Auto-encoder and Variational Graph Auto-encoder presented here.

This implementation is based on Tensorflow 2 and Spektral. Compared to the original implementation, the code is more compact and the scripts are self-contained.

The results obtained are slightly different from those reported in the original paper (the AUC is higher). Also, there is not a clear improvement in using the variational version compared to the determistic one.

variational-graph-auto-encoders-tensorflow-2-spektral-'s People

Contributors

filippomb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

variational-graph-auto-encoders-tensorflow-2-spektral-'s Issues

Extra information about what is happening after the last GCN layer

Hi,

This looks really interesting! I was reading into the paper from Kipf but there only was a tensorflow v1 implementation so this is perfect for experimentation and understanding.

I do have one question, what is exactly happening in the following lines of code?

out = tf.matmul(z, tf.transpose(z))
A_rec = tf.keras.layers.Activation('sigmoid')(out)
out = tf.reshape(out, [-1])

It seems that first you multiply encoded embedding called 'z' with its transpose.
That would collect information from neighbouring nodes? (by looking at this stackoverflow example)

Also, my interest is using these techniques for further analysis of the embedded features, so I think that I need do something different then:

A_rec = tf.keras.layers.Activation('sigmoid')(out)
out = tf.reshape(out, [-1])

if link prediction is not my goal? For example, clustering, classification, etc of the graph or the nodes.

Kind regards and thanks for this work!

Stefan

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.