C# Class MyMediaLite.ItemRecommendation.MostPopular

Most-popular item recommender
Items are weighted by how often they have been seen in the past. This method is not personalized. This recommender supports incremental updates.
Inheritance: ItemRecommender
Exibir arquivo Open project: zenogantner/MML-KDD Class Usage Examples

Protected Properties

Property Type Description
view_count IList

Public Methods

Method Description
AddFeedback ( int user_id, int item_id ) : void
LoadModel ( string filename ) : void
Predict ( int user_id, int item_id ) : double
RemoveFeedback ( int user_id, int item_id ) : void
RemoveItem ( int item_id ) : void
RemoveUser ( int user_id ) : void
SaveModel ( string filename ) : void
Train ( ) : void

Protected Methods

Method Description
AddItem ( int item_id ) : void

Method Details

AddFeedback() public method

public AddFeedback ( int user_id, int item_id ) : void
user_id int
item_id int
return void

AddItem() protected method

protected AddItem ( int item_id ) : void
item_id int
return void

LoadModel() public method

public LoadModel ( string filename ) : void
filename string
return void

Predict() public method

public Predict ( int user_id, int item_id ) : double
user_id int
item_id int
return double

RemoveFeedback() public method

public RemoveFeedback ( int user_id, int item_id ) : void
user_id int
item_id int
return void

RemoveItem() public method

public RemoveItem ( int item_id ) : void
item_id int
return void

RemoveUser() public method

public RemoveUser ( int user_id ) : void
user_id int
return void

SaveModel() public method

public SaveModel ( string filename ) : void
filename string
return void

Train() public method

public Train ( ) : void
return void

Property Details

view_count protected_oe property

View count
protected IList view_count
return IList