MyMediaLite  3.11
Public Member Functions | Properties | List of all members
IIncrementalItemRecommender Interface Reference

Interface for item recommenders More...

Inheritance diagram for IIncrementalItemRecommender:
IIncrementalRecommender IncrementalItemRecommender KNN MF MostPopular SLIM ItemKNN UserKNN BPRMF WRMF BPRSLIM LeastSquareSLIM ItemAttributeKNN UserAttributeKNN MultiCoreBPRMF SoftMarginRankingMF WeightedBPRMF

Public Member Functions

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

Properties

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

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 UserKNN, ItemKNN, MostPopular, MF, 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 UserKNN, MostPopular, ItemKNN, MF, and IncrementalItemRecommender.

void RemoveItem ( int  item_id)
inherited

Remove all feedback by one item

Parameters
item_idthe item ID

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

void RemoveUser ( int  user_id)
inherited

Remove all feedback by one user

Parameters
user_idthe user ID

Implemented in BiasedMatrixFactorization, MatrixFactorization, LeastSquareSLIM, MF, MostPopular, IncrementalRatingPredictor, IncrementalItemRecommender, and UserAverage.

Property Documentation

bool UpdateItems
getsetinherited

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.

bool UpdateUsers
getsetinherited

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.


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