NumPy中几种常见random模块的用法解释
导入包from numpy import random1、numpy.random.uniform(low=0.0, high=1.0, size=None)生出size个符合均分布的浮点数,取值范围为[low, high),默认取值范围为[0, 1.0)random.uniform()0.3999807403689315random.uniform(size=1)array([0.55950578])random.uniform(5, 6)5.293682668235986ra