numpy.random.random

random.random(size=None)

返回半开区间内的随机浮点值[0.0,1.0]。的别名 random_sample 以简化对新随机API的前向移植。