Skip to content
Discussion options

You must be logged in to vote

Your code looks good to me. Since your labels seems to be only contain integers, you might also want to try out to cast this problem as a classification problem. Furthermore, you may find some success in normalizing targets first. Also keep in mind that you probably do not want to apply a final non-linearity via x = F.relu(x) before returning your targets (depending on whether targets can be negative).

Furthermore, I would try to find out if there are any benefits in applying GraphSAGE at all. For example, you can try to apply linear regression directly on the embedddings obtained by Node2Vec.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pmoriano
Comment options

@rusty1s
Comment options

@pmoriano
Comment options

@rusty1s
Comment options

@pmoriano
Comment options

Answer selected by pmoriano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants