guoguibing / librec

LibRec: A Leading Java Library for Recommender Systems, see
https://www.librec.net/
Other
3.23k stars 1.03k forks source link

Fixed: Removed incorrect Random usages. #319

Open agpar opened 4 years ago

agpar commented 4 years ago

It's supposed to be possible to have fully deterministic runs by setting Randoms.seed() before a run. However, in a few small instances, the Randoms class is not being used to generate random numbers. This would effectively break the determinism of runs in certain cases.