-
Notifications
You must be signed in to change notification settings - Fork 196
Similarity Function Examples #804
Conversation
9b4af48 to
a1fae46
Compare
169bd1f to
9492a83
Compare
|
@davidoliverSP2 figured I may as well add similar examples for the other similarity functions at the same time as for Pearson |
davidoliverSP2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mneedham
Looks good - a couple of small things I noticed on the Pearson algo (comments inline)
👍
doc/asciidoc/similarity-pearson.adoc
Outdated
| // end::function-cypher[] | ||
|
|
||
|
|
||
| In this example we pass in `vectorType: "maps"` as an extra parameter, as well as using the `algo.similarity.asVector` function to construct a vector of maps containing each movie and the corresponding rating. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing comma.....
In this example, .....
doc/asciidoc/similarity-pearson.adoc
Outdated
|
|
||
|
|
||
| In this example we pass in `vectorType: "maps"` as an extra parameter, as well as using the `algo.similarity.asVector` function to construct a vector of maps containing each movie and the corresponding rating. | ||
| We do this because the Pearson similarity algorithm needs to compute the average of *all* the movies that a user has reviewed, not just the ones that they have in common with the user we're comparing them to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Algo name should be capitalised as per the header: Pearson Similarity algorithm
* explaining how to use pearson function * update result * Add cosine function example * typo * jaccard examples * update jaccard examples * euclidean + better explanatory text on the others * address david's feedback
|
@davidoliverSP2 cool! T'is merged in now |
No description provided.