摘要: 1 numpy.random.rand() (1)numpy.random.rand(d0,d1,…,dn) rand函数根据给定维度生成[0,1)之间的数据,包含0,不包含1 dn表格每个维度 返回值为指定维度的array (2) [[0.16965512 0.97445517 0.5199235 阅读全文
posted @ 2019-01-02 16:12 stone1234567890 阅读(2185) 评论(0) 推荐(0) 编辑
摘要: low、high、size三个参数。默认high是None,如果只有low,那范围就是[0,low)。如果有high,范围就是[low,high)。 阅读全文
posted @ 2019-01-02 15:46 stone1234567890 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: 一、Matplotlib 1.用于创建出版质量图表的绘图工具库 2.目的的为Python构建一个Matlab式的绘图接口 3.import matplotlib.pyplot as plt:pyplot模块包含了常用的matplotlib API函数 4.figure (1)Matplotlib的图 阅读全文
posted @ 2019-01-02 10:42 stone1234567890 阅读(901) 评论(0) 推荐(0) 编辑