opg4j> var vertexVectors = model.inferEmbeddings(fullGraph, fullGraph.getVertices()).flattenAll();
opg4j> vertexVectors.write().
db().
name("vertex vectors").
tablename("vertexVectors"). // indicate the name of the table in which the data should be stored
overwrite(true). // indicate that if there is a table with the same name, it will be overwritten (truncated)
store();
Javaを使用した埋込みの推測
PgxFrame vertexVectors = model.inferEmbeddings(fullGraph,fullGraph.getVertices()).flattenAll();
vertexVectors.write()
.db()
.name("vertex vectors")
.tablename("vertexVectors") // indicate the name of the table in which the data should be stored
.overwrite(true) // indicate that if there is a table with the same name, it will be overwritten (truncated)
.store();