knn-MatlabCode
代码说明:
说明: K近邻算法。(k-Nearest Neighbor,KNN),是一个理论上比较成熟的方法,也是最简单的机器学习算法之一。该方法的思路是:在特征空间中,如果一个样本附近的k个最近(即特征空间中最邻近)样本的大多数属于某一个类别,则该样本也属于这个类别。(K-nearest neighbor algorithm. K-nearest neighbor (KNN) is a mature method in theory and one of the simplest machine learning algorithms. The idea of this method is: in the feature space, if most of the k nearest (i.e. the nearest) samples near a sample belong to a certain category, then the sample also belongs to this category.)
文件列表:
knn\datingTestSet2.txt, 26067 , 2016-02-18
knn\KNN.m, 429 , 2019-11-15
knn\KNNdatgingTest.m, 945 , 2019-11-15
knn, 0 , 2019-11-15
下载说明:请别用迅雷下载,失败请重下,重下不扣分!