文件名称:KNN
介绍说明--下载内容均来自于网络,请自行研究使用
邻近算法,或者说K最近邻(kNN,k-NearestNeighbor)分类算法是数据挖掘分类技术中最简单的方法之一。所谓K最近邻,就是k个最近的邻居的意思,说的是每个样本都可以用它最接近的k个邻居来代表。
kNN算法的核心思想是如果一个样本在特征空间中的k个最相邻的样本中的大多数属于某一个类别,则该样本也属于这个类别,并具有这个类别上样本的特性。该方法在确定分类决策上只依据最邻近的一个或者几个样本的类别来决定待分样本所属的类别。 kNN方法在类别决策时,只与极少量的相邻样本有关。由于kNN方法主要靠周围有限的邻近的样本,而不是靠判别类域的方法来确定所属类别的,因此对于类域的交叉或重叠较多的待分样本集来说,kNN方法较其他方法更为适合。-Nearby algorithm, or K-nearest neighbor (kNN, k-NearestNeighbor) classification algorithm is one of classification data mining technology in the most simple way. The so-called K-nearest neighbor is the k nearest neighbors meant to say is that it can be used for each sample k nearest neighbors to represent. kNN algorithm core idea is that if a sample in feature space is k-nearest neighbor samples most belong to a category, the sample also fall into this category, and the category having the characteristics of the sample. The method in determining the classification decision based solely on the nearest one or several samples to determine the category to be sub-sample belongs to the category. kNN method when category decisions, with only a very small amount of adjacent samples related. Because kNN method is mainly limited by the surrounding adjacent samples, rather than the domain identification method to determine the class belongs to the category, so for class field of overlap or more s
kNN算法的核心思想是如果一个样本在特征空间中的k个最相邻的样本中的大多数属于某一个类别,则该样本也属于这个类别,并具有这个类别上样本的特性。该方法在确定分类决策上只依据最邻近的一个或者几个样本的类别来决定待分样本所属的类别。 kNN方法在类别决策时,只与极少量的相邻样本有关。由于kNN方法主要靠周围有限的邻近的样本,而不是靠判别类域的方法来确定所属类别的,因此对于类域的交叉或重叠较多的待分样本集来说,kNN方法较其他方法更为适合。-Nearby algorithm, or K-nearest neighbor (kNN, k-NearestNeighbor) classification algorithm is one of classification data mining technology in the most simple way. The so-called K-nearest neighbor is the k nearest neighbors meant to say is that it can be used for each sample k nearest neighbors to represent. kNN algorithm core idea is that if a sample in feature space is k-nearest neighbor samples most belong to a category, the sample also fall into this category, and the category having the characteristics of the sample. The method in determining the classification decision based solely on the nearest one or several samples to determine the category to be sub-sample belongs to the category. kNN method when category decisions, with only a very small amount of adjacent samples related. Because kNN method is mainly limited by the surrounding adjacent samples, rather than the domain identification method to determine the class belongs to the category, so for class field of overlap or more s
(系统自动生成,下载前可以参看下载内容)
下载文件列表
KNN
...\.project
...\.pydevproject
...\src
...\...\main.py