@@ -269,7 +269,7 @@ The following Additional Operations are not supported in GDS Session Cypher API:
269
269
In this section we will illustrate how to use the GDS Session Cypher API to project a graph, run a few algorithms, and process results.
270
270
271
271
272
- === Data & Projection
272
+ === Projecting a graph
273
273
274
274
.The following Cypher statement will create the example graph in the Neo4j database:
275
275
[source, cypher, role=noplay setup-query]
@@ -342,9 +342,9 @@ RETURN *
342
342
343
343
=== Running algorithms
344
344
345
- With a graph projected, we can now run algorithms .
346
- First , run xref:algorithms/page-rank.adoc[] and xref:machine-learning/node-embeddings/fastrp.adoc[] in `mutate` mode.
347
- Then, `stream` the node properties and lastly `write` them back to the AuraDB instance.
345
+ You can run algorithms on a projected graph .
346
+ For example , run xref:algorithms/page-rank.adoc[] and xref:machine-learning/node-embeddings/fastrp.adoc[] in `mutate` mode on the example graph .
347
+ Then, `stream` the node properties and `write` them back to the AuraDB instance.
348
348
349
349
.Run PageRank in `mutate` mode:
350
350
[source, cypher, role=noplay]
@@ -416,7 +416,7 @@ RETURN *
416
416
It is possible to write mutated results using the `gds.graph.nodeProperty.write()` procedure.
417
417
See xref:management-ops/graph-write-to-neo4j/write-back-to-nodes.adoc[] for more details.
418
418
419
- You can also write results directly using the `write` algorithm execution mode, which we will illustrate here .
419
+ You can also write results directly using the `write` algorithm execution mode.
420
420
421
421
.Run Louvain in `write` mode:
422
422
[source, cypher, role=noplay]
@@ -434,7 +434,6 @@ RETURN communityCount, modularity
434
434
| 2 | 0.3333333333333333
435
435
|===
436
436
437
- Now we can find our results in the AuraDB instance using standard Cypher queries.
438
437
439
438
440
439
=== Cleaning up
0 commit comments