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

Interface for recommenders that support incremental model updates. More...

Inheritance diagram for IIncrementalRecommender:
IIncrementalItemRecommender IIncrementalRatingPredictor IncrementalItemRecommender IncrementalRatingPredictor KNN MF MostPopular SLIM Constant EntityAverage GlobalAverage KNN MatrixFactorization NaiveBayes Random UserItemBaseline

Public Member Functions

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 recommenders that support incremental model updates.

Member Function Documentation

void RemoveItem ( int  item_id)

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)

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
getset

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
getset

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: