IItemSimilarity InterfaceNReco.Recommender Class Library
Implementations of this interface define a notion of similarity between two items. Implementations should return values in the range -1.0 to 1.0, with 1.0 representing perfect similarity.

Namespace: NReco.CF.Taste.Similarity
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: (

public interface IItemSimilarity : IRefreshable

The IItemSimilarity type exposes the following members.


Public methodAllSimilarItemIDs
Return all similar item IDs
Public methodItemSimilarities
A bulk-get version of ItemSimilarity(Int64, Int64).
Public methodItemSimilarity
Returns the degree of similarity, of two items, based on the preferences that users have expressed for the items.
Public methodRefresh (Inherited from IRefreshable.)
See Also