最近邻规则分类(k-Nearest Neighbor )机器学习算法python实现

综述

  1. Cover和Hart在1968年提出了最初的近邻算法
  2. 是分类(classification)算法
  3. 输入基于实例的学习(instance-based learning),惰性学习(lazy learning)

例子(example)

movie name fight times kiss times movie type
California Man 3 104 Romance
Beautiful Woman 1 81 Romance
Kevin Longblase 101 10 Action

posted on 2017-09-01 16:32  小闪电  阅读(377)  评论(0编辑  收藏  举报

导航