Code Monkey home page Code Monkey logo

graph_neural_net's People

Contributors

shinkyuy 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

Watchers

 avatar

graph_neural_net's Issues

Edge classification with same networks?

Hi, I just found your repository and and it's really helpful to understand graph networks and it's variants.
I just gone through your notebook and it was really informative and maintained.
In your experiments you have only predicted node and presented node classification problem.
I have few doubts, can we use same networks for edge classification or do we have other powerful networks for edge classification instead of node classification?
If you can post a notebook with edge classification that would be very helpful though.

Thank you,
And keep posting and learning. :)

您这样写是不是有点问题

def loss(self, lr, active=tf.nn.relu,optim=tf.train.AdamOptimizer):
self.L=tf.identity(self.X)
for i in range(len(self.layer)):
self.L=self.graph_conv(self.L, self.adj, self.layer[i], activation=active)
self.L= tf.nn.dropout(self.L, self.dropout)

    self.hypothesis=tf.layers.dense(tf.matmul(self.adj,self.L), self.output_dim, activation=None)

您这样写是不是有点问题

def loss(self, lr, active=tf.nn.relu,optim=tf.train.AdamOptimizer):
self.L=tf.identity(self.X)
for i in range(len(self.layer)):
self.L=self.graph_conv(self.L, self.adj, self.layer[i], activation=active)
self.L= tf.nn.dropout(self.L, self.dropout)

    self.hypothesis=tf.layers.dense(tf.matmul(self.adj,self.L), self.output_dim, activation=None)

你每次调用loss的时候都会创建新的tf.layers.dense 那么每次网络的权重都是新的

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.