Method | Description | |
---|---|---|
ComputeObjective ( ) : float |
Compute approximate loss
|
|
SoftMarginRankingMF ( ) : System | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
UpdateFactors ( int u, int i, int j, bool update_u, bool update_i, bool update_j ) : void |
Update latent factors according to the stochastic gradient descent update rule
|
protected UpdateFactors ( int u, int i, int j, bool update_u, bool update_i, bool update_j ) : void | ||
u | int | the user ID |
i | int | the ID of the first item |
j | int | the ID of the second item |
update_u | bool | if true, update the user latent factors |
update_i | bool | if true, update the latent factors of the first item |
update_j | bool | if true, update the latent factors of the second item |
return | void |