We use  (the weight of the social connection factor function ( , ) ij g y y ) as the example to explain how we learn the parameters (the algorithm also applies to tune  by simply replacing  with ).
we first write the gradient of each k  with regard to the objective function (Eq.