Giter Club home page Giter Club logo

adgcn's Introduction

ADGCN

Pytorch Implementation for paper "Adversarial Graph Disentanglement". Note: a well-organized version will be coming soon!

2022/05/30 Update: The organized version has been released!

Introduction

Requirements

  • PyTorch >= 1.1.0
  • python 3.6
  • networkx
  • scikit-learn
  • scipy
  • munkres

Run from

preset hyperparameters version:

source ./pre_ADGCN.sh

or modifying the network hyperparameters and run

python main.py --param1 xxx --param2 xxx --param3 xxx ...

You can also use "meta.py" to search for the best combination of hyperparameters on each dataset:

python meta.py --datname $dataset_name

Data

We provide the citation network datasets under data/. Due to space limit, please download AMZ co-purchase dataset from https://github.com/shchur/gnn-benchmark#datasets

adgcn's People

Contributors

ssgood avatar

Stargazers

Zhangtao Cheng avatar Xovee Xu avatar  avatar  avatar  avatar  avatar lucky_fd avatar Roxanne Zhang avatar  avatar Jorian avatar Hongguang Zhu avatar paller avatar

Watchers

James Cloos avatar  avatar

adgcn's Issues

Questions about Analysis of Disentanglement in the paper

Hi, I read your amazing work: "Adversarial Graph Disentanglement", and then I have a question about the experimental part. In the V. EXPERIMENTAL RESULTS AND ANALYSIS, E. Analysis of Disentanglement, you compute the component confusion matrix C to illustrate the correlations among the distributions in different component spaces.
The correlation score between the i-th and j-th component distributions is given by
image.
I don't understand why this formula is used to calculate the correlation of two vector spaces.
Why is cosine similarity calculated between every two elements in these two spaces?
Why not compute the similarity between corresponding elements as a similarity measure for two vector spaces?that is Cij=1/Vsum(hu^ihu^j).
Finally, can you provide your code on computing the cosine similarity of two vector spaces?
I would appreciate it if you could.
Thank you!

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.