Replies: 2 comments 1 reply
-
Each random number generator algorithm has its own default seed. For Mersenne Twister, it is 19650218. See https://github.com/haifengl/smile/blob/256a41cc9fb394c0f417d301a04da28255ba9bef/base/src/main/java/smile/math/random/MersenneTwister.java#L60C43-L60C51 |
Beta Was this translation helpful? Give feedback.
1 reply
-
These numbers are chosen for their high randomness so that bit operations in RNG won't deteriorate from an information theory pov. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Haifengl. I am working on some data analytics projects and I would like to know what algorithm is used to generate the set of default seeds for the random number generator. The only algorithm I have heard is the Mersenne Twister algorithm, but I have very limited knowledge. Can you provide some details regarding the algorithm you are using? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions