Giter Club home page Giter Club logo

Comments (3)

yangsiran avatar yangsiran commented on August 20, 2024

Hi, I think according to the code here The number is applied in reversed order. So sample_2 should correspond to the number 1-hop neighbors, and sample_1 should correspond to the number 2-hop neighbors.

from graphsage.

RexYing avatar RexYing commented on August 20, 2024

Yes that's correct. Thanks for the explanation. The layer here means GCN layer, which is in reverse order of hops.

from graphsage.

p1erce2023 avatar p1erce2023 commented on August 20, 2024

Hi, I am still a little confused.
suppose s1 = 25, s2 = 10. In this case s1 != s2.
so, h0 = hidden in L299, h1 = hidden_next after L321 loop.
What confuses me is that I guess h1[0] is aggregated on 10 neighbors, while h1[1] is aggregated on 25 neighbors. Should these be the same? Or 1-hop nodes always aggregated on 25(s1) 2-hop nodes, while target nodes aggregated on 10(s2) 1-hop nodes?
Likely, suppose K=3, s1 = 7, s2 = 6, s3 = 5. Should the target node always aggregate on 5(s3) 1-hop nodes?
Although in practice I guess there is little difference if s_i is similar with each other.

from graphsage.

Related Issues (20)

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.