numpy.random.random#

random.random(size=None)#

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