An implementation of a "similarity" based on the
Tanimoto coefficient, or extended Jaccard
coefficient.
Inheritance Hierarchy
NReco.CF.Taste.Impl.Similarity AbstractItemSimilarity
NReco.CF.Taste.Impl.Similarity TanimotoCoefficientSimilarity
Namespace: NReco.CF.Taste.Impl.Similarity
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The TanimotoCoefficientSimilarity type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TanimotoCoefficientSimilarity | Initializes a new instance of the TanimotoCoefficientSimilarity class |
Methods
| Name | Description | |
|---|---|---|
| AllSimilarItemIDs | (Inherited from AbstractItemSimilarity.) | |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ItemSimilarities | (Overrides AbstractItemSimilarity ItemSimilarities(Int64, Int64 ).) | |
| ItemSimilarity | (Overrides AbstractItemSimilarity ItemSimilarity(Int64, Int64).) | |
| Refresh | ||
| SetPreferenceInferrer | ||
| ToString | (Overrides Object ToString .) | |
| UserSimilarity |
Remarks
This is intended for "binary" data sets where a user either expresses a generic "yes" preference for an item or has no preference. The actual preference values do not matter here, only their presence or absence.
The value returned is in [0,1].
See Also