Numpy中各函数用法记录

1.np.random.normal(loc=0.0, scale=1.0, size=None)

返回满足mu = loc, sigma = scale的N个随机的正态分布数据

2.numpy.linspace(start,stop,num=50,endpoint=True,retstep=False,dtype=None)

Return evenly spaced numbers over a specified interval.

Returnsnumevenly spaced samples, calculated over the interval [start,stop].

The endpoint of the interval can optionally be excluded.

你可能感兴趣的:(Numpy中各函数用法记录)