You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
* 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
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.
87
+
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.
88
+
We can't therefore just pass in collections of the ratings of movies that have been reviewed by both people.
89
+
90
+
.The following will return the Pearson similarity of Arya and other people that have rated at least one movie:
0 commit comments