C# 클래스 MyMediaLite.ItemRecommendation.KNN

Base class for item recommenders that use some kind of k-nearest neighbors (kNN) model
상속: MyMediaLite.ItemRecommendation.IncrementalItemRecommender
파일 보기 프로젝트 열기: zenogantner/MML-KDD

보호된 프로퍼티들

프로퍼티 타입 설명
correlation CorrelationMatrix
k uint
nearest_neighbors int[][]

공개 메소드들

메소드 설명
LoadModel ( string filename ) : void
SaveModel ( string filename ) : void

메소드 상세

LoadModel() 공개 메소드

public LoadModel ( string filename ) : void
filename string
리턴 void

SaveModel() 공개 메소드

public SaveModel ( string filename ) : void
filename string
리턴 void

프로퍼티 상세

correlation 보호되어 있는 프로퍼티

Correlation matrix over some kind of entity
protected CorrelationMatrix correlation
리턴 CorrelationMatrix

k 보호되어 있는 프로퍼티

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

nearest_neighbors 보호되어 있는 프로퍼티

Precomputed nearest neighbors
protected int[][] nearest_neighbors
리턴 int[][]