Update latent factors according to the stochastic gradient descent update rule
Declaring type: BPRMF
Namespace: MyMediaLite.ItemRecommender
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
protected virtual void UpdateFactors (
        int u,
        int i,
        int j,
        bool update_u,
        bool update_i,
        bool update_j
) 
Parameters
u
the user ID
i
the ID of the first item
j
the ID of the second item
update_u
if true, update the user latent factors
update_i
if true, update the latent factors of the first item
update_j
if true, update the latent factors of the second item