You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/ROOT/partials/algorithms/node-similarity/specific-configuration.adoc
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ If unspecified, the algorithm runs unweighted.
21
21
| similarityMetric
22
22
| String | JACCARD | yes | The metric used to compute similarity.
23
23
Can be either `JACCARD`, `OVERLAP` or `COSINE`.
24
-
| [[runwcc-{instance}]] runWcc | Boolean | false | yes | If enabled, xref:algorithms/wcc.adoc[WCC] is run as a pre-processing step to obtain the graph components.
25
-
This can increase performance for multi-component graphs, since nodes in distinct components always have zero similarity and do not need to be compared.
26
-
If the components are already stored in a node property, use the `componentProperty` configuration parameter instead.
27
-
| [[component-property-{instance}]] componentProperty | String | null | yes | Node property containing the ID of the graph components. If not available, use the `runWcc` configuration parameter instead.
| If enabled, Node Similarity will use components to improve the performance of the computation, skipping comparisons of nodes in different components.
26
+
Set to `false` (Default): the algorithm does not use components, but computes similarity across the entire graph.
27
+
Set to `true`: the algorithm uses components, and will compute these components before computing similarity.
28
+
Set to *String*: use pre-computed components stored in the graph, with *String* as the key for a node property representing components
0 commit comments