Open PeterZaidel opened 3 years ago
Hello! Thank you for your great work! In your realisation of bpr loss you use the following formula:
loss = (1.0 - torch.sigmoid(positive_predictions - negative_predictions)) .
loss = (1.0 - torch.sigmoid(positive_predictions - negative_predictions))
In the original publication (bpr paper) the authors propose loss = log(sigmoid(positive - negative)) + regularisation. Is it okay?
loss = log(sigmoid(positive - negative)) + regularisation
Hello! Thank you for your great work! In your realisation of bpr loss you use the following formula:
loss = (1.0 - torch.sigmoid(positive_predictions - negative_predictions))
.In the original publication (bpr paper) the authors propose
loss = log(sigmoid(positive - negative)) + regularisation
. Is it okay?