An implementation of the cosine similarity. The result is the cosine of the angle formed between
the two preference vectors.
Inheritance Hierarchy
NReco.CF.Taste.Impl.Similarity AbstractItemSimilarity
NReco.CF.Taste.Impl.Similarity AbstractSimilarity
NReco.CF.Taste.Impl.Similarity UncenteredCosineSimilarity
Namespace: NReco.CF.Taste.Impl.Similarity
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The UncenteredCosineSimilarity type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UncenteredCosineSimilarity(IDataModel) | Initializes a new instance of the UncenteredCosineSimilarity class | |
UncenteredCosineSimilarity(IDataModel, Weighting) | Initializes a new instance of the UncenteredCosineSimilarity 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 | (Inherited from AbstractSimilarity.) | |
ItemSimilarity | (Inherited from AbstractSimilarity.) | |
Refresh | (Inherited from AbstractSimilarity.) | |
SetPreferenceInferrer | (Inherited from AbstractSimilarity.) | |
ToString | (Inherited from AbstractSimilarity.) | |
UserSimilarity | (Inherited from AbstractSimilarity.) |
Remarks
See Also