Numpy系列(三)常用random随机函数汇总

官方文档地址 choice(a[, size, replace, p]) shuffle(x)   把一个数组x进行随机排列: permutation(x)   把一个数组x进行随机排列,或者数字的全排列 normal([loc, scale, size])   按照平均值loc和方差scale生成高斯分布的数字 uniform([low, high, size])   在[low, high)之
相关文章
相关标签/搜索