python
暗矛_darkspear
摸了!
展开
-
python基础知识——numpy
来自:http://cs231n.github.io/python-numpy-tutorial/更多:https://docs.scipy.org/doc/numpy/reference/数组初始化方式: 一个numpy数组是一个值的矩阵,所有类型相同,并且索引是非负整数。维数是阵列的等级; 数组的形状是一个整数的元组,它给出了每个维度上数组的大小。 我们可以从嵌套...转载 2018-07-09 20:58:19 · 492 阅读 · 0 评论 -
python基础知识——matplotlib
来自:http://cs231n.github.io/python-numpy-tutorial/#scipy更多:https://matplotlib.org/api/index.htmlplot: matplotlib中最重要的函数是plot,它可以使你绘制二维数据。例子: import numpy as np import matplotlib.pyplot ...转载 2018-07-09 21:11:43 · 197 阅读 · 0 评论 -
python基础知识——scipy
来自:http://cs231n.github.io/python-numpy-tutorial/#scipy更多:http://docs.scipy.org/doc/scipy/reference/index.html图像操作: SciPy提供一些基本函数来处理对象。例如,它具有将图像从磁盘读取到numpy数组,将numpy 数组作为图像写入磁盘以及调整图像大小的功能: ...转载 2018-07-09 21:12:59 · 370 阅读 · 0 评论