简体   繁体   English

在序列开始重复之前,可以用numpy.random生成的最大伪随机数是多少?

[英]What is the maximum number of pseudo-random numbers that can be generated with numpy.random before the sequence begins to repeat?

I need to generate many hundreds of millions of random numbers for a clustering analysis. 我需要生成数亿个随机数以进行聚类分析。 I am using numpy.random and was wondering if anyone knows the maximum number of pseudo-randoms that can be generated with numpy.random before the sequence begins to repeat? 我正在使用numpy.random,想知道是否有人知道在序列开始重复之前numpy.random可以生成的最大伪随机数? A quick look in the numpy documentation didn't help. 快速浏览numpy文档并没有帮助。

I know I can generate numbers in chunks using different seeds, but I'm curious as to the maximum number. 我知道我可以使用不同的种子成块地生成​​数字,但是我对最大数量感到好奇。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM