文件名称:knnalgorithm
介绍说明--下载内容来自于网络,使用问题请自行百度
k最近邻算法,给出训练样本和测试样本,通过样本间欧氏距离或是绝对距离来寻找测试样本的k个近邻,并根据k个实例里多数所属的类将该测试样本归为该类。-k-nearest neighbor algorithm, given the training and testing samples by the Euclidean distance between the samples or the absolute distance to find the k nearest neighbors of the test sample and the test samples according to class k instances where the majority belongs classified as class .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
knnalgorithm.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.