Because there are many functions under numpy.random, so I summarized it:
as follows: the
output result is as follows:
the figure out of the final plot: the
output result:
np.random.normal(loc,scale,size): is to create a loc as the mean value , With scale as standard deviation and an array of shape as size.
Summary of the usage of various functions under numpy.random
Guess you like
Origin blog.csdn.net/weixin_45187794/article/details/108286749
Recommended
Ranking