08 2016 档案

摘要:1 from numpy import * 2 import matplotlib 3 from os import listdir 4 import kNN 5 def img2vector(filename): 6 returnVect = zeros((1,1024)) 7 fr = open 阅读全文
posted @ 2016-08-12 19:48 WangLC 阅读(630) 评论(0) 推荐(0)
摘要:Python 科学计算器--Anaconda 安装anaconda bash Anaconda.XXX.XXXX.sh 安装Jupyter pip install jupyter python输入 ~/.local/bin/jupyter-notebook --ip=192.168.1.111 -- 阅读全文
posted @ 2016-08-09 21:03 WangLC 阅读(497) 评论(0) 推荐(0)
摘要:1:安装zlib(下载地址) 2:安装libpng(下载地址) 3:安装freetype(下载地址) 4:安装matplotlib(下载地址) 检验安装效果 大功告成 阅读全文
posted @ 2016-08-08 21:14 WangLC 阅读(5419) 评论(0) 推荐(1)
摘要:shape函数是numpy.core.fromnumeric中的函数,它的功能是读取矩阵的长度,比如shape[0]就是读取矩阵的长度。它的输入参数可以使一个整数表示维度,也可以是一个矩阵。 使用shape需要导入numpy tile函数位于python模块 numpy.lib.shape_base 阅读全文
posted @ 2016-08-08 11:07 WangLC 阅读(579) 评论(0) 推荐(0)
摘要:cal 显示指定 日历 cal 4 2016 ls 当前目录下的文件 date 显示时间年月日 date +%Y-%m-%d 2016-07-30 date +%H:%M 18:46 bc enter 计算 scale=3 小数点后取三位 quit 退出 tab 自动补全 cat XXX(回车键补齐 阅读全文
posted @ 2016-08-05 21:36 WangLC 阅读(225) 评论(0) 推荐(0)