Open melaniab opened 4 years ago
Hi @melaniab -- I expect that what your seeing is because of different random seeds, as you suspected.
I haven't tried this, but you could try setting the seed directly to the TensorFlow session before creating the TensorRec object:
tf.set_random_seed(0)
content_model = tensorrec.TensorRec(.......
Let me know if that works for you.
Hello I am also trying to solve this issue! I tried tf.random.set_seed(1), but it didn't work. Any suggestions? thank you
Hello,
I am currently using TensorRec for my master's thesis project, and have been following the MovieLens guide on getting started with the library. I am trying to test different features (embeddings) for content-based recommendations. However, the results that I have so far are not stable, meaning I get different results when I rerun the same piece of code with the same data.
For example, with the same dataset I got first
and then later:
How can I make it stable? I did not see anywhere in the code
random_seed
being set, and I'm not sure where and how can I set it.The RecSys I use is:
Thank you in advance!