-
Hello, The below code runs, but the results are not good. I wonder if you can please take a look and provide advise of how to improve the performance of the model. I am not sure if this is because of the small size of the toy graph or if there are issues with my code. Many thanks.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
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 Furthermore, I would try to find out if there are any benefits in applying |
Beta Was this translation helpful? Give feedback.
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 byNode2Vec
.