A simple IRecommender which uses a given
IDataModel and
IItemSimilarity to produce recommendations. This class
represents Taste's support for item-based recommenders.
The IItemSimilarity is the most important point to discuss
here. Item-based recommenders are useful because they can take advantage of something to be very fast: they
base their computations on item similarity, not user similarity, and item similarity is relatively static.
It can be precomputed, instead of re-computed in real time.
Thus it's strongly recommended that you use
GenericItemSimilarity with pre-computed similarities if
you're going to use this class. You can use
PearsonCorrelationSimilarity too, which computes
similarities in real-time, but will probably find this painfully slow for large amounts of data.
System Object NReco.CF.Taste.Impl.Recommender AbstractRecommender NReco.CF.Taste.Impl.Recommender GenericItemBasedRecommender NReco.CF.Taste.Impl.Recommender GenericBooleanPrefItemBasedRecommenderNamespace: NReco.CF.Taste.Impl.RecommenderAssembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
public class GenericItemBasedRecommender : AbstractRecommender,
IItemBasedRecommender, IRecommender, IRefreshable
public class GenericItemBasedRecommender : AbstractRecommender,
IItemBasedRecommender, IRecommender, IRefreshable
Public Class GenericItemBasedRecommender
Inherits AbstractRecommender
Implements IItemBasedRecommender, IRecommender, IRefreshable
Public Class GenericItemBasedRecommender
Inherits AbstractRecommender
Implements IItemBasedRecommender, IRecommender, IRefreshable
public ref class GenericItemBasedRecommender : public AbstractRecommender,
IItemBasedRecommender, IRecommender, IRefreshable
public ref class GenericItemBasedRecommender : public AbstractRecommender,
IItemBasedRecommender, IRecommender, IRefreshable
type GenericItemBasedRecommender =
class
inherit AbstractRecommender
interface IItemBasedRecommender
interface IRecommender
interface IRefreshable
end
type GenericItemBasedRecommender =
class
inherit AbstractRecommender
interface IItemBasedRecommender
interface IRecommender
interface IRefreshable
end
The GenericItemBasedRecommender type exposes the following members.
Top
| Name | Description |
---|
| doEstimatePreference | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
| EstimatePreference | (Overrides AbstractRecommender EstimatePreference(Int64, Int64).) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
| GetAllOtherItems | (Inherited from AbstractRecommender.) |
| GetDataModel | (Inherited from AbstractRecommender.) |
| getDefaultMostSimilarItemsCandidateItemsStrategy | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
| getSimilarity | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| MostSimilarItems(Int64, Int32) | |
| MostSimilarItems( Int64 , Int32) | |
| MostSimilarItems(Int64, Int32, IRescorer Tuple Int64, Int64 ) | |
| MostSimilarItems( Int64 , Int32, IRescorer Tuple Int64, Int64 ) | |
| MostSimilarItems( Int64 , Int32, Boolean) | |
| MostSimilarItems( Int64 , Int32, IRescorer Tuple Int64, Int64 , Boolean) | |
| Recommend(Int64, Int32) | (Inherited from AbstractRecommender.) |
| Recommend(Int64, Int32, IDRescorer) | (Overrides AbstractRecommender Recommend(Int64, Int32, IDRescorer).) |
| RecommendedBecause | |
| Refresh | (Overrides AbstractRecommender Refresh(IList IRefreshable ).) |
| RemovePreference | (Inherited from AbstractRecommender.) |
| SetPreference | (Inherited from AbstractRecommender.) |
| ToString | (Overrides Object ToString .) |
Top