Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 250340a

Browse files
committed
typo in docs
1 parent 908fdbd commit 250340a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

doc/asciidoc/scripts/similarity-pearson.cypher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ MATCH (p:Person), (m:Movie)
6060
OPTIONAL MATCH (p)-[rated:RATED]->(m)
6161
WITH {item:id(p), weights: collect(coalesce(rated.score, algo.NaN()))} as userData
6262
WITH collect(userData) as data
63-
CALL algo.similarity.pearson.stream(data, {similarityCutoff: 0.0})
63+
CALL algo.similarity.pearson.stream(data, {similarityCutoff: 0.1})
6464
YIELD item1, item2, count1, count2, similarity
6565
RETURN algo.getNodeById(item1).name AS from, algo.getNodeById(item2).name AS to, similarity
6666
ORDER BY similarity DESC

doc/asciidoc/similarity-pearson.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ include::scripts/similarity-pearson.cypher[tag=stream-similarity-cutoff]
110110
| "Michael" | "Karin" | 0.9707253433941511
111111
| "Michael" | "Arya" | 0.5198613887753597
112112
| "Zhen" | "Michael" | 0.3711537444790451
113-
| "Praveena" | "Arya" | 0.0
114-
| "Zhen" | "Arya" | 0.0
115-
| "Praveena" | "Karin" | 0.0
116113
|===
117114
// end::stream-similarity-cutoff[]
118115

0 commit comments

Comments
 (0)