机器学习之K近邻算法实现

import operator from numpy import array, tile def create_dataset(): _dataset = array([[1.0, 1.1], [1.0, 1.0], [0, 0], [0, 0.1]]) _labels = ['A', 'A',
posted @ 2024-06-08 14:26  NAVYSUMMER  阅读(4)  评论(0编辑  收藏  举报
交流群 编程书籍