C# Class MyMediaLite.ItemRecommendation.ItemKNN

Unweighted k-nearest neighbor item-based collaborative filtering using cosine similarity
This recommender does NOT support incremental updates.
Inheritance: KNN
ファイルを表示 Open project: zenogantner/MML-KDD Class Usage Examples

Public Methods

Method Description
Predict ( int user_id, int item_id ) : double
ToString ( ) : string
Train ( ) : void

Method Details

Predict() public method

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

ToString() public method

public ToString ( ) : string
return string

Train() public method

public Train ( ) : void
return void