GraphSAGE
Neo4j Graph Analytics for Snowflake is in Public Preview and is not intended for production use. |
GraphSAGE is a graph neural network (GNN) architecture outlined in the paper "Inductive Representation Learning on Large Graphs" by Hamilton et al. (2017). In Neo4j Graph Analytics for Snowflake, GraphSAGE is exposed as algorithms for both node classification and unsupervised for generating node embeddings:
GraphSAGE for node classification
The GraphSAGE architecture can be used as a supervised algorithm to predict labels of nodes in a graph. This subchapter provides instructions for how to use the GraphSAGE endpoints for node classification:
-
GraphSAGE node classification training — Training a GraphSAGE model for node classification
-
GraphSAGE node classification prediction — Using a trained GraphSAGE model for node classification to make new predictions
GraphSAGE for node embeddings
The GraphSAGE architecture can be used as an unsupervised algorithm to generate embeddings for nodes in a graph. This subchapter provides instructions for how to use the GraphSAGE node embeddings endpoints:
-
GraphSAGE node embedding training — Training a GraphSAGE model for node embeddings
-
GraphSAGE node embedding prediction — Using a trained GraphSAGE model for node embeddings to infer new embeddings
Moreover, please refer to Model catalog for how to show, describe and drop trained models.