numpy.random.random#

random.random(size=None)#

返回半开区间 [0.0, 1.0) 内的随机浮点数。是 random_sample 的别名,以方便向前移植到新的随机 API。