Skip to content

Multi-hop sample #22

@W-rudder

Description

@W-rudder

Hi! When I checked the sampling results of the codes, I found some problems about it. The details are as follows.

  1. The first interaction of any couple of nodes will never be sampled. For example, I use wiki for testing. There exists two interactions between node 2 and 8229 at time 36 and 77, but the sample results doesn't include the first one. Here I use batch size 5 for convenient testing. And TGAT config.
    image
    image
    image

  2. Is there an error in the sampling logic for multi-hop sampling? For example, when taking a 2-hop subgraph, the new nodes obtained in the first sampling should be re-sampled instead of sampling all nodes. But the logic of the code is to use all nodes, because the root node must be included in the result of the first sampling. Otherwise, repeated one-hop sampling results will be obtained. Same case as above. Got duplicate node 8229 at 77 in second hop sampling
    image

  • The version of my code is up to date.
  • I would appreciate it if you could help me with my question. Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions