机器学习实战第二章记录

第二章讲的是K-邻近算法 from numpy import* import operator def createDataSet():     group = array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]])     labels = ['A','A','B','B']     return group,labels group,labels = create
相关文章
相关标签/搜索