Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add --use_synthetic_data option to NCF. #5468

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

Merged
merged 4 commits into from
Oct 10, 2018
Merged

Add --use_synthetic_data option to NCF. #5468

merged 4 commits into from
Oct 10, 2018

Conversation

reedwm
Copy link
Member

@reedwm reedwm commented Oct 10, 2018

No description provided.

@reedwm reedwm requested a review from robieta October 10, 2018 16:45
@reedwm reedwm requested review from karmel and a team as code owners October 10, 2018 16:45
@@ -644,10 +661,43 @@ def input_fn(params):
return input_fn, record_dir, batch_count


_SYNTHETIC_BATCHES_PER_EPOCH = 2000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We know that the number of train batches should just be about (1 or 20 million) * (1 + num_neg) / train_batch_size and eval will just be about num_users * (1 + num_eval_neg) / eval_batch_size. Can you just mimic the real behavior?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running for more batches is convenient to reduce noise. Added a comment stating this.

@reedwm
Copy link
Member Author

reedwm commented Oct 10, 2018

PTAL

@robieta
Copy link
Contributor

robieta commented Oct 10, 2018

Once the tests are fixed I'll approve.

@robieta robieta merged commit 75d592e into tensorflow:master Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants