A simple recommender that always estimates preference for an item to be the average of all known preference
values for that item. No information about users is taken into account. This implementation is provided for
experimentation; while simple and fast, it may not produce very good recommendations.
Inheritance Hierarchy
NReco.CF.Taste.Impl.Recommender AbstractRecommender
NReco.CF.Taste.Impl.Recommender ItemAverageRecommender
Namespace: NReco.CF.Taste.Impl.Recommender
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The ItemAverageRecommender type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ItemAverageRecommender | Initializes a new instance of the ItemAverageRecommender class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
EstimatePreference | (Overrides AbstractRecommender EstimatePreference(Int64, Int64).) | |
GetDataModel | (Inherited from AbstractRecommender.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Recommend(Int64, Int32) | (Inherited from AbstractRecommender.) | |
Recommend(Int64, Int32, IDRescorer) | (Overrides AbstractRecommender Recommend(Int64, Int32, IDRescorer).) | |
Refresh | (Overrides AbstractRecommender Refresh(IList IRefreshable ).) | |
RemovePreference | (Overrides AbstractRecommender RemovePreference(Int64, Int64).) | |
SetPreference | (Overrides AbstractRecommender SetPreference(Int64, Int64, Single).) | |
ToString | (Overrides Object ToString .) |
See Also