Skip to content

Commit 98f28bf

Browse files
committed
fixup
1 parent 22e912b commit 98f28bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

algo/src/main/java/org/neo4j/gds/similarity/filteredknn/FilteredKnn.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
/**
3333
* Filtered KNN is the same as ordinary KNN, _but_ we allow users to regulate final output in two ways.
3434
*
35-
* Firstly, we enable source node filtering, meaning reported results are limited to nodes from a certain set.
35+
* Consider each result item to be a relationship from one node to another, with a score.
3636
*
37-
* Secondly, we enable target node filtering in the sense that every result will be from a certain set of nodes.
37+
* Firstly, we enable source node filtering. This limits the result to only contain relationships where the source node matches the filter.
38+
* Secondly, we enable target node filtering. This limits the result to only contain relationships where the target node matches the filter.
3839
*
3940
* In both cases the source or target node set can be actual specified nodes, or it could be all nodes with a label.
4041
*/

0 commit comments

Comments
 (0)