【Python之numpy库】9.np.random 随机数生成模块常见函数1.rand(d0,d1,...,dn)2.randn(d0,d1,...dn)3.randint(low,high=None,size=None,dtype='l')4.uniform(low,high=None,size=None,dtype='l')5.normal(loc=0.0,scale=1.0,size=None)6.shuffle(x)
np.random 随机数生成模块常见函数。1.rand(d0,d1,...,dn)2.randn(d0,d1,...dn)3.randint(low,high=None,size=None,dtype='l')4.uniform(low,high=None,size=None,dtype='l')5.normal(loc=0.0,scale=1.0,size=None)6.shuffle(x)