MyMediaLite
3.04
|
Interface for item recommenders. More...
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 |
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).
void AddFeedback | ( | ICollection< Tuple< int, int >> | feedback | ) |
Add positive feedback events and perform incremental training.
feedback | collection 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.
feedback | collection of user id - item id tuples |
Implemented in BPRMF, MostPopular, and IncrementalItemRecommender.
void RemoveItem | ( | int | item_id | ) | [inherited] |
Remove all feedback by one item.
item_id | the item ID |
Implemented in BPRMF, BiasedMatrixFactorization, MatrixFactorization, IncrementalRatingPredictor, IncrementalItemRecommender, MostPopular, and ItemAverage.
void RemoveUser | ( | int | user_id | ) | [inherited] |
Remove all feedback by one user.
user_id | the user ID |
Implemented in BiasedMatrixFactorization, BPRMF, MatrixFactorization, MostPopular, IncrementalRatingPredictor, IncrementalItemRecommender, and UserAverage.
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.