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

Fix random output with LMF/BPR models #408

Merged
merged 1 commit into from
Oct 1, 2020
Merged

Conversation

benfred
Copy link
Owner

@benfred benfred commented Sep 30, 2020

the LMF/BPR models were converging to different results each time,
even when the random_state parameter was being passed in. The
problem was that each thread was getting a different set of rows each
time, which affected how negative samples were sampled.

Fix by using a static openmp schedule.

the LMF/BPR models were converging to different results each time,
even when the random_state parameter was being passed in. The
problem was that each thread was getting a different set of rows each
time, which affected how negative samples were sampled.

Fix by using a static openmp schedule.
@benfred benfred merged commit 154ec7c into master Oct 1, 2020
@benfred benfred deleted the consistent_lmf_bpr branch October 1, 2020 18:50
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

Successfully merging this pull request may close these issues.

1 participant