Method | Description | |
---|---|---|
BPR_SMF_KDD ( ) : System |
Default constructor
|
|
Predict ( int user_id, int item_id ) : double | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
UpdateSharedFactors ( int u, int category_i, int category_j, int num_factors, Matrix |
public Predict ( int user_id, int item_id ) : double | ||
user_id | int | |
item_id | int | |
return | double |
protected SampleTriple ( int &u, int &i, int &j ) : void | ||
u | int | |
i | int | |
j | int | |
return | void |
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 | |
return | void |