摘要: numpy.concatenate((a1,a2,...), axis=0)函数,能够一次完成多个数组的拼接。其中a1,a2,...是数组类型的参数 示例: >>> a=np.array([1,2,3])>>> b=np.array([11,22,33])>>> c=np.array([44,55, 阅读全文
posted @ 2020-04-29 16:41 像阳光,像春天 阅读(1516) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq878594585/article/details/81838260 阅读全文
posted @ 2020-04-29 15:36 像阳光,像春天 阅读(2834) 评论(0) 推荐(0) 编辑
摘要: np.random.choice(a)介于给出的数组a,随机选择一个值 np.random.randint()在指定的low和high之间随机产生一个int整数值 阅读全文
posted @ 2020-04-29 15:18 像阳光,像春天 阅读(4781) 评论(0) 推荐(0) 编辑
摘要: numpy.clip(a, a_min, a_max, out=None) Clip (limit) the values in an array.Given an interval, values outside the interval are clipped to the interval e 阅读全文
posted @ 2020-04-29 14:56 像阳光,像春天 阅读(2949) 评论(0) 推荐(0) 编辑
摘要: RandomState():随机数种子功能:产生随机数 阅读全文
posted @ 2020-04-29 10:43 像阳光,像春天 阅读(2083) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/demo-deng/p/10623334.html 阅读全文
posted @ 2020-04-29 09:28 像阳光,像春天 阅读(2075) 评论(0) 推荐(0) 编辑