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

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

public sealed class ItemAverageRecommender : AbstractRecommender

The ItemAverageRecommender type exposes the following members.

Constructors

  NameDescription
Public methodItemAverageRecommender
Initializes a new instance of the ItemAverageRecommender class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEstimatePreference (Overrides AbstractRecommender EstimatePreference(Int64, Int64).)
Public methodGetDataModel (Inherited from AbstractRecommender.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRecommend(Int64, Int32) (Inherited from AbstractRecommender.)
Public methodRecommend(Int64, Int32, IDRescorer) (Overrides AbstractRecommender Recommend(Int64, Int32, IDRescorer).)
Public methodRefresh (Overrides AbstractRecommender Refresh(IList IRefreshable ).)
Public methodRemovePreference (Overrides AbstractRecommender RemovePreference(Int64, Int64).)
Public methodSetPreference (Overrides AbstractRecommender SetPreference(Int64, Int64, Single).)
Public methodToString (Overrides Object ToString .)
Top
See Also