python中的numpy和pandas---机器学习实战第一篇KNN
http://www.cnblogs.com/prpl/p/5537417.html 熟悉其基本操作from numpy import *import operatordef data(): datas = array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]]) labels = ['A','A','B','B'] return ...