C# Class MyMediaLite.ItemRecommendation.KNN

Base class for item recommenders that use some kind of k-nearest neighbors (kNN) model
Inheritance: MyMediaLite.ItemRecommendation.IncrementalItemRecommender
Exibir arquivo Open project: zenogantner/MML-KDD

Protected Properties

Property Type Description
correlation CorrelationMatrix
k uint
nearest_neighbors int[][]

Public Methods

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

Method Details

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

k protected_oe property

The number of neighbors to take into account for prediction
protected uint k
return uint

nearest_neighbors protected_oe property

Precomputed nearest neighbors
protected int[][] nearest_neighbors
return int[][]