Similarly, we can use gradient descent method to solve the problem of optimizing L( f ) in this pairwise setting.
the negative gradient of one pair of items in the training data can be calculated as: for one sample of pair of items, we add two samples in the gradient training data is inconsistent with ( y i1 , y i2 ).