ThresholdUserNeighborhood ClassNReco.Recommender Class Library
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

System Object
  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: (

public sealed class ThresholdUserNeighborhood : AbstractUserNeighborhood

The ThresholdUserNeighborhood type exposes the following members.


Public methodThresholdUserNeighborhood(Double, IUserSimilarity, IDataModel)
Initializes a new instance of the ThresholdUserNeighborhood class
Public methodThresholdUserNeighborhood(Double, IUserSimilarity, IDataModel, Double)
Initializes a new instance of the ThresholdUserNeighborhood class

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodgetDataModel (Inherited from AbstractUserNeighborhood.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetSamplingRate (Inherited from AbstractUserNeighborhood.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserNeighborhood (Overrides AbstractUserNeighborhood GetUserNeighborhood(Int64).)
Public methodgetUserSimilarity (Inherited from AbstractUserNeighborhood.)
Public methodRefresh (Inherited from AbstractUserNeighborhood.)
Public methodToString (Overrides Object ToString .)
See Also