Skip to content

Commit

Permalink
Fix grammatical error
Browse files Browse the repository at this point in the history
  • Loading branch information
breakanalysis committed Jul 29, 2024
1 parent 4ee09eb commit 3b151c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ RETURN similarityDistribution.mean AS meanSimilarity // <4>
<2> Name of the projected graph to run the algorithm on.
The `write` mode does not update the in-memory graph.
<3> Configuration parameters listed in the xref:algorithms/knn.adoc#algorithms-knn-syntax[Syntax section] of the algorithm (`Write mode` panel).
The `nodeLabels` option is set to ['Person'], because are interested only in `Person`-`Person` similarities and don't want to mix up such similarities with e.g. `Person`-`Product` similarities.
The `nodeLabels` option is set to ['Person'], because we are interested only in `Person`-`Person` similarities and don't want to mix up such similarities with e.g. `Person`-`Product` similarities.
Here, `topK` is set to 2 to select only the two closest targets of a source node, while the `sampleRate` and the `deltaThreshold` are set to 1 and 0 respectively because the graph is small.
The `concurrency` and the `randomSeed` are set to obtain the same results for every run, but are not necessary for the actual computation.
The two `write` properties are used to write a new `:SIMILAR` relationship with a `score` property containing the similarity score between two nodes.
Expand Down

0 comments on commit 3b151c4

Please sign in to comment.