MyMediaLite  3.03
Public Member Functions | Properties
IIncrementalItemRecommender Interface Reference

Interface for item recommenders. More...

Inheritance diagram for IIncrementalItemRecommender:
IIncrementalRecommender IncrementalItemRecommender MF MostPopular BPRMF WRMF BPRMF_Mapping BPRMF_Mapping MultiCoreBPRMF SoftMarginRankingMF WeightedBPRMF BPRMF_ItemMapping BPRMF_UserMapping BPRMF_ItemMapping_Optimal BPRMF_ItemMappingKNN BPRMF_ItemMappingSVR BPRMF_UserMapping_Optimal

List of all members.

Public Member Functions

void AddFeedback (ICollection< Tuple< int, int >> feedback)
 Add positive feedback events and perform incremental training.
void RemoveFeedback (ICollection< Tuple< int, int >> feedback)
 Remove all feedback events by the given user-item combinations.
void RemoveItem (int item_id)
 Remove all feedback by one item.
void RemoveUser (int user_id)
 Remove all feedback by one user.

Properties

bool UpdateItems [get, set]
 true if items shall be updated when doing incremental updates
bool UpdateUsers [get, set]
 true if users shall be updated when doing incremental updates

Detailed Description

Interface for item recommenders.

Item prediction or item recommendation is the task of predicting items (movies, books, products, videos, jokes) that a user may like, based on past user behavior (and possibly other information).

See also http://recsyswiki/wiki/Item_prediction


Member Function Documentation

void AddFeedback ( ICollection< Tuple< int, int >>  feedback)

Add positive feedback events and perform incremental training.

Parameters:
feedbackcollection of user id - item id tuples

Implemented in BPRMF, MostPopular, and IncrementalItemRecommender.

void RemoveFeedback ( ICollection< Tuple< int, int >>  feedback)

Remove all feedback events by the given user-item combinations.

Parameters:
feedbackcollection of user id - item id tuples

Implemented in BPRMF, MostPopular, and IncrementalItemRecommender.

void RemoveItem ( int  item_id) [inherited]

Remove all feedback by one item.

Parameters:
item_idthe item ID

Implemented in BPRMF, BiasedMatrixFactorization, MatrixFactorization, IncrementalRatingPredictor, IncrementalItemRecommender, ItemAverage, and MostPopular.

void RemoveUser ( int  user_id) [inherited]

Remove all feedback by one user.

Parameters:
user_idthe user ID

Implemented in BiasedMatrixFactorization, BPRMF, MatrixFactorization, IncrementalRatingPredictor, IncrementalItemRecommender, UserAverage, and MostPopular.


Property Documentation

bool UpdateItems [get, set, inherited]

true if items shall be updated when doing incremental updates

Set to false if you do not want any updates to the item model parameters when doing incremental updates.

Implemented in IncrementalItemRecommender, and IncrementalRatingPredictor.

bool UpdateUsers [get, set, inherited]

true if users shall be updated when doing incremental updates

Default should be true. Set to false if you do not want any updates to the user model parameters when doing incremental updates.

Implemented in IncrementalItemRecommender, and IncrementalRatingPredictor.


The documentation for this interface was generated from the following file: