Git Product home page Git Product logo

Comments (2)

ercz16 avatar ercz16 commented on July 27, 2024

Update:
I realized the code supports existing negative edges if already given in split_dict.
Also if I want to incorporate my edge features (list of vectors) into training do I add it in this line?

logits = model(data.z, data.edge_index, data.batch, x, edge_weight, node_id)

I didn't see anywhere else where edge_attr (features) is used.

from seal_ogb.

Xi-yuanWang avatar Xi-yuanWang commented on July 27, 2024

Hello ercz16,

"the code supports existing negative edges if already given in split_dict." Yes, then no negative edge sampling is needed.

"does this implementation keep node embeddings limited to the training data and not used again in test data to possibly prevent data leakage?" Could you please provide more details on it? Currently, our model produces new node embeddings in each forward process as long as you do not use --train_node_embedding option.

"if I want to incorporate my edge features (list of vectors) into training do I add it in this line", Yes. You can change the model here to some models that can take edge feature as input. Like GINE https://pytorch-geometric.readthedocs.io/en/latest/generated/torch_geometric.nn.conv.GINEConv.html#torch_geometric.nn.conv.GINEConv

from seal_ogb.

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.