C# Class MyMediaLite.ItemRecommendation.KNN

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

Protected Properties

Свойство Type Description
correlation CorrelationMatrix
k uint
nearest_neighbors int[][]

Méthodes publiques

Méthode Description
LoadModel ( string filename ) : void
SaveModel ( string filename ) : void

Method Details

LoadModel() public méthode

public LoadModel ( string filename ) : void
filename string
Résultat void

SaveModel() public méthode

public SaveModel ( string filename ) : void
filename string
Résultat void

Property Details

correlation protected_oe property

Correlation matrix over some kind of entity
protected CorrelationMatrix correlation
Résultat CorrelationMatrix

k protected_oe property

The number of neighbors to take into account for prediction
protected uint k
Résultat uint

nearest_neighbors protected_oe property

Precomputed nearest neighbors
protected int[][] nearest_neighbors
Résultat int[][]