MyMediaLite  3.07
Public Member Functions | Properties
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

List of all members.

Public Member Functions

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 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, BPRSLIM, MatrixFactorization, LeastSquareSLIM, IncrementalRatingPredictor, IncrementalItemRecommender, MostPopular, and ItemAverage.

void RemoveUser ( int  user_id)

Remove all feedback by one user.

Parameters:
user_idthe user ID

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


Property Documentation

bool UpdateItems [get, set]

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]

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: