Returns the similarity between two items. Note that similarity is assumed to be symmetric, that itemSimilarity(item1, item2) == itemSimilarity(item2, item1)
, and that itemSimilarity(item1, item1) == 1.0
for all items.
Returns the degree of similarity, of two items, based on the preferences that users have expressed for the items.
@param itemID1 first item ID @param itemID2 second item ID @return similarity between the items, in [-1,1] @throws TasteException if an error occurs while accessing the data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|