Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MyMediaLite
ItemRecommendation
KNN
C# Class MyMediaLite.ItemRecommendation.KNN
Base class for item recommenders that use some kind of k-nearest neighbors (kNN) model
Inheritance:
MyMediaLite.ItemRecommendation.IncrementalItemRecommender
Show file
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 property
Correlation matrix over some kind of entity
protected
CorrelationMatrix
correlation
return
CorrelationMatrix
k
protected property
The number of neighbors to take into account for prediction
protected
uint
k
return
uint
nearest_neighbors
protected property
Precomputed nearest neighbors
protected
int[][]
nearest_neighbors
return
int[][]