Skip to content
New issue

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

BPR optimization criteria #5

Open
lpeska opened this issue Sep 22, 2016 · 1 comment
Open

BPR optimization criteria #5

lpeska opened this issue Sep 22, 2016 · 1 comment

Comments

@lpeska
Copy link

lpeska commented Sep 22, 2016

Hi!

Thanks for sharing the code!
I have a question regarding to line 79 file bpr.py :
z = 1.0/(1.0+exp(x))

According to the original BPR paper, it seems to me that there should be something like
z = exp(-x)/(1.0+exp(-x))

Am I missing something? Or are those equations proportionally equal?
Thanks,
Ladislav

@leihao612
Copy link

The two equations are equal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants