Computes a neigbhorhood consisting of all users whose similarity to the given user meets or exceeds a
certain threshold. Similarity is defined by the given IUserSimilarity.
Inheritance Hierarchy
NReco.CF.Taste.Impl.Neighborhood AbstractUserNeighborhood
NReco.CF.Taste.Impl.Neighborhood ThresholdUserNeighborhood
Namespace: NReco.CF.Taste.Impl.Neighborhood
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The ThresholdUserNeighborhood type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ThresholdUserNeighborhood(Double, IUserSimilarity, IDataModel) | Initializes a new instance of the ThresholdUserNeighborhood class | |
| ThresholdUserNeighborhood(Double, IUserSimilarity, IDataModel, Double) | Initializes a new instance of the ThresholdUserNeighborhood class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| getDataModel | (Inherited from AbstractUserNeighborhood.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| getSamplingRate | (Inherited from AbstractUserNeighborhood.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUserNeighborhood | (Overrides AbstractUserNeighborhood GetUserNeighborhood(Int64).) | |
| getUserSimilarity | (Inherited from AbstractUserNeighborhood.) | |
| Refresh | (Inherited from AbstractUserNeighborhood.) | |
| ToString | (Overrides Object ToString .) |
See Also