IItemBasedRecommender InterfaceNReco.Recommender Class Library
Interface implemented by "item-based" recommenders.

Namespace: NReco.CF.Taste.Recommender
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public interface IItemBasedRecommender : IRecommender, 
	IRefreshable

The IItemBasedRecommender type exposes the following members.

Methods

  NameDescription
Public methodEstimatePreference
Estimate preference for given user ID and item ID
(Inherited from IRecommender.)
Public methodGetDataModel
Get underlying data model instance
(Inherited from IRecommender.)
Public methodMostSimilarItems(Int64, Int32)
Get list of most similar items
Public methodMostSimilarItems( Int64 , Int32)
Get list of most similar items
Public methodMostSimilarItems(Int64, Int32, IRescorer Tuple Int64, Int64  )
Get list of most similar items
Public methodMostSimilarItems( Int64 , Int32, IRescorer Tuple Int64, Int64  )
Get list of most similar items
Public methodMostSimilarItems( Int64 , Int32, Boolean)
Get list of most similar items
Public methodMostSimilarItems( Int64 , Int32, IRescorer Tuple Int64, Int64  , Boolean)
Get list of most similar items
Public methodRecommend(Int64, Int32)
Recommend desired number of items for given user ID
(Inherited from IRecommender.)
Public methodRecommend(Int64, Int32, IDRescorer)
Recommend desired number of items for given user ID and rescorer
(Inherited from IRecommender.)
Public methodRecommendedBecause
Lists the items that were most influential in recommending a given item to a given user. Exactly how this is determined is left to the implementation, but, generally this will return items that the user prefers and that are similar to the given item.

This returns a [!:List] of IRecommendedItem which is a little misleading since it's returning recommending items, but, I thought it more natural to just reuse this class since it encapsulates an item and value. The value here does not necessarily have a consistent interpretation or expected range; it will be higher the more influential the item was in the recommendation.

Public methodRefresh (Inherited from IRefreshable.)
Public methodRemovePreference
Remove preferense for given user ID and item ID
(Inherited from IRecommender.)
Public methodSetPreference
Set preference value for given user ID and item ID
(Inherited from IRecommender.)
Top
See Also