GithubHelp home page GithubHelp logo

bkj / pytorch-graphsage Goto Github PK

View Code? Open in Web Editor NEW
138.0 8.0 30.0 6.51 MB

Representation learning on large graphs using stochastic graph convolutions.

Python 94.90% Shell 5.10%
neural-network graphsage graph-convolutional-networks

pytorch-graphsage's Introduction

graphsage

pytorch version of https://github.com/williamleif/GraphSAGE

There are also a handful of new features, including:

  • scripts for preprocessing data
  • attention-based aggregator
  • sparse edge sampler (eg, don't use the dense 2D edgelist)
  • richer, pluggable preprocessing classes

This version is missing some features, as well. Namely:

  • we don't support unsupervised models (yet)

A simplified version of the original Tensorflow version can be found on branch tf-simple.

LICENSE

MIT

pytorch-graphsage's People

Contributors

aksakalli avatar bkj avatar williamleif avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pytorch-graphsage's Issues

Running

How do you run train.py for ppi? What file is needed for the argument "--problem-path" so I can run it?
Also for reddit because the h5 files are not working for running as well.

Initialize with links to a dummy node?

Hi,

I notice that when you create the adjacency matrix, you use the trick "Initialize w/ links to a dummy node" (see utils/convert.py function make_adjacency), however, even if I change it to a normal adjacency matrix, the code still works, could you explain why to use this trick?

Thanks!

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.