摘要: from numpy import * import operator def create_data_set(): # 训练集与标签 group = array([[1.0, 1.1], [1.0, 1.0], [0, 0], [0, 0.1]]) labels = ['A', 'A', 'B', 'B'] return group, labels ... 阅读全文
posted @ 2018-06-03 14:57 luck_L 阅读(897) 评论(0) 推荐(0) 编辑