C# 클래스 MyMediaLite.ItemRecommendation.BPR_SMF_KDD

BPRMF with frequency-adjusted sampling and shared factors
prototype for KDD Cup 2011
상속: BPRMF, IKDDCupRecommender
파일 보기 프로젝트 열기: zenogantner/MML-KDD

공개 메소드들

메소드 설명
BPR_SMF_KDD ( ) : System

Default constructor

Predict ( int user_id, int item_id ) : double
ToString ( ) : string

보호된 메소드들

메소드 설명
InitModel ( ) : void
SampleTriple ( int &u, int &i, int &j ) : void
UpdateFactors ( int u, int i, int j, bool update_u, bool update_i, bool update_j ) : void

비공개 메소드들

메소드 설명
UpdateSharedFactors ( int u, int category_i, int category_j, int num_factors, Matrix user_shared_factors, Matrix item_shared_factors, double common_gradient ) : void

메소드 상세

BPR_SMF_KDD() 공개 메소드

Default constructor
public BPR_SMF_KDD ( ) : System
리턴 System

InitModel() 보호된 메소드

protected InitModel ( ) : void
리턴 void

Predict() 공개 메소드

public Predict ( int user_id, int item_id ) : double
user_id int
item_id int
리턴 double

SampleTriple() 보호된 메소드

protected SampleTriple ( int &u, int &i, int &j ) : void
u int
i int
j int
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UpdateFactors() 보호된 메소드

protected UpdateFactors ( int u, int i, int j, bool update_u, bool update_i, bool update_j ) : void
u int
i int
j int
update_u bool
update_i bool
update_j bool
리턴 void