IUserSimilarity InterfaceNReco.Recommender Class Library
Implementations of this interface define a notion of similarity between two users. 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: 1.0.0.0 (1.0.0.0)
Syntax

public interface IUserSimilarity : IRefreshable

The IUserSimilarity type exposes the following members.

Methods

  NameDescription
Public methodRefresh (Inherited from IRefreshable.)
Public methodSetPreferenceInferrer
Attaches a IPreferenceInferrer to the IUserSimilarity implementation.
Public methodUserSimilarity
Returns the degree of similarity, of two users, based on the their preferences.
Top
See Also