Questions tagged [graphsage]
11 questions
1
vote
0 answers
How to predict links between present and a new node with PyG/GraphSage autoencoder?
I am a newbee in the field of GNN and want to use PyTorch Geometric (PyG) to train a Graph Neural Network (GNN) to predict links (edges) between nodes in a graph using an autoencoder (with a modified version of the PyG link prediction example with…

feinheitsbrei
- 51
- 2
- 5
1
vote
0 answers
IndexError: tuple index out of range in Graphsage
I'm trying to create a graph neural network, for edge prediction and got this error. Would really appreciate it if someone could help me out.
from sklearn.metrics import roc_auc_score
model =…

Charvi
- 11
- 1
1
vote
1 answer
Neo4j GraphSage training does not log anything
I am working on extracting graph embeddings with training GraphSage algorihm. I am working on a large graph consisting of (82,339,589) nodes and (219,521,164) edges. When I checked with ":queries" command the query is listed as running. Algorithm…

ugurtosun
- 327
- 1
- 14
0
votes
0 answers
Keras model predicting different outputs for the same input
I am using stellargraph for learning a GraphSage model. This is my code:
num_samples = [10, 5]
unsupervised_samples = UnsupervisedSampler(G,nodes=G.nodes(),length=10, number_of_walks=5)
# Generate training data for the encoder model
generator =…

Bob
- 23
- 5
0
votes
0 answers
If graphSAGE can be converted to solve the regression problem?
I have tried to solve the node classification problems by graphSAGE and it works well on dataset Cora. Now I want to convert it to solve the regression problem, and I only change the loss function into torch.nn.MSE() without any change to other…

Echo Z
- 1
0
votes
0 answers
(Very Intriguing Trial) GraphSAGE: Feature Request | Feature Instruction: Exploring the Feasibility of Implementing Asymmetric Node Feature Slicing
Currently, I am working on implementing GraphSage with DGL for an industrial node classification application. Here is a brief description of my scenario:
In my application, each node in the graph has around 21 features associated with it. However,…

billz
- 11
- 1
0
votes
0 answers
What to use a node feature on the hinSAGE algorithm?
I have a graph with this info:
StellarDiGraph: Directed multigraph
Nodes: 1417, Edges: 1988
Node types:
ParagraphA: [429]
Features: float32 vector, length 1417
Edge types: A-contains->D, A-contains->F, A-contains->E
PrecedentB: [332]
Features:…

Red Boraley
- 21
- 2
0
votes
1 answer
How to use Apache spark to implement GraphSAGE?
I want to use scala and spark to implement Graph algorithm GraphSAGE, then how to do it? Is there any source code?
I want to get the code for my question
0
votes
0 answers
Which algorithm/implementation is best for link prediction in an evolving heterogeneous knowledge graph?
I want to do link prediction in a heterogeneous knowledge graph which will be evolving over time. The entity types and relations will be the same. But there will be unseen nodes.
I would like to know whether graphsage is the right choice for this…

myands
- 1
- 1
0
votes
0 answers
Neo4j GraphSage: inconsistency between runs
On Neo4j, running gds.beta.graphSage.mutate yields inconsistent results: for the same model, a given node n gets different embeddings between runs.
This happens despite the graph being constant (nodes, arcs, initial features, they are all the same…

molfab
- 65
- 2
- 5
0
votes
1 answer
Convert a node with multiple attributes types (int, float, string) to an embedding using Neo4j and GraphSAGE?
If my nodes look like:
{id: 1, name: "John", last_name: "Doe", age: 40, city: "New York", credit_score: 5.5}
{id: 2, name: "Linda", last_name: "Lumbo", age: 32, city: "Washington", credit_score: 5.5}
{id: 3, name: "Greg", last_name: "Tanta", age:…

SteveS
- 3,789
- 5
- 30
- 64