Question about the update method
Closed this issue · 0 comments
zhzou2020 commented
For u, the gradient should be (1-sigmoid(uv))*v when the label is 1, (sigmoid(-uv) - 1)*v when the label is 0.
But in the update method, the gradient becomes (1-sigmoid(uv))*v when the label is 1, -sigmoid(uv)*v when the label is 0.
Is there any error in my calculation? Or this is a bug of the code?