C# Class MyMediaLite.RatingPrediction.KNN

Base class for rating predictors that use some kind of kNN
The method is described in section 2.2 of Yehuda Koren: Factor in the Neighbors: Scalable and Accurate Collaborative Filtering, Transactions on Knowledge Discovery from Data (TKDD), 2009. ItemRecommendation.KNN
Inheritance: UserItemBaseline
Datei anzeigen Open project: zenogantner/MML-KDD

Protected Properties

Property Type Description
correlation CorrelationMatrix

Public Methods

Method Description
KNN ( ) : System

Create a new KNN recommender

LoadModel ( string filename ) : void
SaveModel ( string filename ) : void

Method Details

KNN() public method

Create a new KNN recommender
public KNN ( ) : System
return System

LoadModel() public method

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

SaveModel() public method

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

Property Details

correlation protected_oe property

Correlation matrix over some kind of entity
protected CorrelationMatrix correlation
return CorrelationMatrix