摘要: 结果: [[0.11959428 0.52816495 0.31736705] [0.75400637 0.26683732 0.54080784]] <class 'numpy.ndarray'> 结果: 维度个数 2 各维度大小 (2, 3) 数据类型 float64 补充: ndarray,N 阅读全文
posted @ 2018-03-18 22:11 耐烦不急 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 首先下载:anaconda3.x 下载方式:百度搜索 清华镜像anaconda https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/(进入第一个下载链接,选择最新版本) 启动:jupyter notebook(在线编辑,适合演示),支持Markdow 阅读全文
posted @ 2018-03-18 20:47 耐烦不急 阅读(297) 评论(0) 推荐(0) 编辑
摘要: #通过关键字映射 print('I am {name},age {age}'.format(name='qiqi齐',age=18))#I am qiqi齐,age 18 dictory={'name':'xiaozhi志','age':19} s='{name} is {age} years old'.format(**dictory) print(s)#xiaozhi志 is 19 year... 阅读全文
posted @ 2018-03-18 20:21 耐烦不急 阅读(182) 评论(0) 推荐(0) 编辑