C# Class MyMediaLite.ItemRecommendation.AttributeCounter

Simple recommender that counts attributes
Inheritance: ItemRecommender, IKDDCupRecommender
Exibir arquivo Open project: zenogantner/MML-KDD

Public Methods

Method Description
InitModel ( ) : void
LoadModel ( string filename ) : void
Predict ( int user_id, int item_id ) : double
SaveModel ( string filename ) : void
Train ( ) : void

Protected Methods

Method Description
GetAttributes ( int item_id ) : IList

Get attributes for an item

Method Details

GetAttributes() protected abstract method

Get attributes for an item
protected abstract GetAttributes ( int item_id ) : IList
item_id int the item ID
return IList

InitModel() public method

public InitModel ( ) : void
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

SaveModel() public method

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

Train() public method

public Train ( ) : void
return void