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

when the latent factors is equal to 8 or 16, the HR and NDCG is equal to 1.0 #6

Open
fjssharpsword opened this issue Jul 19, 2019 · 0 comments

Comments

@fjssharpsword
Copy link

Problem:
When I sets the number of latent factors is 8 or 16, the experimental results of HR and NDCG all are 1.0. It is not reasonable.
parser.add_argument('-userLayer', action='store', dest='userLayer', default=[512, 8]) parser.add_argument('-itemLayer', action='store', dest='itemLayer', default=[1024, 8])

By debugging, I finds that the self.y_ always is 1e-6.
self.y_ = tf.reduce_sum(tf.multiply(user_out, item_out), axis=1, keepdims=False) / (norm_item_output* norm_user_output) self.y_ = tf.maximum(1e-6, self.y_)

In your paper, the experimental results showed that the HR and NDCG is normal when the number of latent factors is 8 or 16, can you give me the solution, thanks!

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