We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed that the code for calculating gradient in the BPR model computation in the gorse source code is:
grad := math32.Exp(-diff) / (1.0 + math32.Exp(-diff))
While in some conventional literature, the formula for calculating gradient seems to be:
$$\frac{1}{1 + e^{-(diff)}}$$
Could you please explain if the author has any special considerations for doing this? What is the reason for this difference?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed that the code for calculating gradient in the BPR model computation in the gorse source code is:
grad := math32.Exp(-diff) / (1.0 + math32.Exp(-diff))
While in some conventional literature, the formula for calculating gradient seems to be:
Could you please explain if the author has any special considerations for doing this? What is the reason for this difference?
The text was updated successfully, but these errors were encountered: