摘要:
from numpy import * import operator def createDataSet(): gruop=array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]]) labels=['A','A','B','B'] return gruop,labels 阅读全文
posted @ 2020-07-04 17:05
JasonLin233
阅读(156)
评论(0)
推荐(0)
摘要:
基本算法代码如下: from numpy import * import operator def createDataSet(): gruop=array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]]) labels=['A','A','B','B'] return gr 阅读全文
posted @ 2020-07-04 15:23
JasonLin233
阅读(102)
评论(0)
推荐(0)

浙公网安备 33010602011771号