@@ -81,16 +81,16 @@ include::scripts/similarity-euclidean.cypher[tag=stream]
8181[opts="header"]
8282|===
8383| from | to |similarity
84- | Arya | Karin | 7.681145747868608
85- | Zhen | Michael | 7.874007874011811
86- | Zhen | Praveena | 12.569805089976535
87- | Praveena | Michael | 12.727922061357855
88- | Michael | Karin | 15.033296378372908
89- | Praveena | Karin | 16.1245154965971
90- | Zhen | Karin | 16.30950643030009
91- | Praveena | Arya | 16.76305461424021
92- | Michael | Arya | 17.406895185529212
93- | Zhen | Arya | 19.621416870348583
84+ | Arya | Karin | 7.681145747868608
85+ | Zhen | Michael | 7.874007874011811
86+ | Zhen | Praveena | 12.569805089976535
87+ | Praveena | Michael | 12.727922061357855
88+ | Michael | Karin | 15.033296378372908
89+ | Praveena | Karin | 16.1245154965971
90+ | Zhen | Karin | 16.30950643030009
91+ | Praveena | Arya | 16.76305461424021
92+ | Michael | Arya | 17.406895185529212
93+ | Zhen | Arya | 19.621416870348583
9494
9595|===
9696// end::stream[]
@@ -138,11 +138,11 @@ include::scripts/similarity-euclidean.cypher[tag=stream-topk]
138138[opts="header",cols="1,1,1"]
139139|===
140140| from | to | similarity
141- | Arya | Karin | 7.681145747868608
142- | Karin | Arya | 7.681145747868608
143- | Michael | Zhen | 7.874007874011811
144- | Praveena | Zhen | 12.569805089976535
145- | Zhen | Michael | 7.874007874011811
141+ | Arya | Karin | 7.681145747868608
142+ | Karin | Arya | 7.681145747868608
143+ | Michael | Zhen | 7.874007874011811
144+ | Praveena | Zhen | 12.569805089976535
145+ | Zhen | Michael | 7.874007874011811
146146
147147|===
148148// end::stream-topk[]
@@ -191,7 +191,7 @@ include::scripts/similarity-euclidean.cypher[tag=write-back]
191191
192192We might then write a query to find out what types of cuisine people similar to us like:
193193
194- .The following will find the most similar user to ` Praveena` and return their favourite cuisine
194+ .The following will find the most similar user to Praveena and return their favorite cuisines that Praveena doesn't (yet!) like
195195[source, cypher]
196196----
197197include::scripts/similarity-euclidean.cypher[tag=query]
@@ -202,7 +202,6 @@ include::scripts/similarity-euclidean.cypher[tag=query]
202202[opts="header",cols="1"]
203203|===
204204| cuisine
205- | Indian
206205| French
207206|===
208207// end::query[]
0 commit comments