LogLikelihoodSimilarity ClassNReco.Recommender Class Library
Similarity test is based on the likelihood ratio, which expresses how many times more likely the data are under one model than the other.
Inheritance Hierarchy

System Object
  NReco.CF.Taste.Impl.Similarity AbstractItemSimilarity
    NReco.CF.Taste.Impl.Similarity LogLikelihoodSimilarity

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

public sealed class LogLikelihoodSimilarity : AbstractItemSimilarity, 
	IUserSimilarity, IRefreshable

The LogLikelihoodSimilarity type exposes the following members.

Constructors

  NameDescription
Public methodLogLikelihoodSimilarity
Initializes a new instance of the LogLikelihoodSimilarity class
Top
Methods

  NameDescription
Public methodAllSimilarItemIDs (Inherited from AbstractItemSimilarity.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodItemSimilarities (Overrides AbstractItemSimilarity ItemSimilarities(Int64,  Int64 ).)
Public methodItemSimilarity (Overrides AbstractItemSimilarity ItemSimilarity(Int64, Int64).)
Public methodRefresh
Public methodSetPreferenceInferrer
Public methodToString (Overrides Object ToString .)
Public methodUserSimilarity
Top
Remarks

See http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.14.5962 and http://tdunning.blogspot.com/2008/03/surprise-and-coincidence.html.
See Also