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

Question about adding negative instances to the training set #19

Open
nvduc opened this issue Dec 24, 2019 · 0 comments
Open

Question about adding negative instances to the training set #19

nvduc opened this issue Dec 24, 2019 · 0 comments

Comments

@nvduc
Copy link

nvduc commented Dec 24, 2019

Thank you very much for your efforts in creating this great library. I have a question regarding the generation of the training set as follows. According to my understating, a number of negative instances is added to the training set, i.e., _get_pointwise_all_data(dataset, num_negatives) function in util/DataGenerator.py
However, the goal of the item recommendation problem is to recommend N items to a user given the set of items the user has interacted with. Thus, adding negative instances to the training set seems violate the assumption of the item recommendation problem.

Could you please explain the rational behind adding negative instances to the training set and why is it reasonable?

Duc Nguyen

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

1 participant