File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
algo/src/main/java/org/neo4j/gds/similarity/knn Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ private KnnNodePropertySpecParser() {}
4848 * The single string is parsed as a property name.
4949 * The list of strings is parsed as a list of property names.
5050 * The map of string to string is parsed as a map from property names to similarity metrics.
51- *
52- * @param userInput
53- * @return
5451 */
5552 public static List <KnnNodePropertySpec > parse (@ NotNull Object userInput ) {
5653 if (userInput instanceof String ) {
Original file line number Diff line number Diff line change @@ -221,11 +221,11 @@ public Stream<SimilarityResult> similarityStream(long nodeId) {
221221
222222 /**
223223 * filterHighSimilarityResults will override the original array in
224- * priorityElementPairs keeping only the results with similarity>= threshold.
224+ * priorityElementPairs keeping only the results with similarity greater than or equal to threshold.
225225 * It will write all high similarity elements
226226 * at the beginning of the array and re-define elementCount.
227227 *
228- * @param threshold we keep all results with similarity >= threshold.
228+ * @param threshold we keep all results with similarity greater than or equal to threshold.
229229 */
230230 public void filterHighSimilarityResults (double threshold ) {
231231 for (int i = 0 ; i < elementCount ; i ++) {
You can’t perform that action at this time.
0 commit comments