k-近邻邻居算法我要分享

k-nearest neighbors

matlab 算法 近邻 邻居

关注次数: 163

下载次数: 0

文件大小: 3.02 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:在模式识别中,k-近邻邻居算法 (或简称 K-NN) 是一种用于分类和回归的非参数方法。在这两种情况下,输入包括 k 最近训练样本在特征空间中。输出取决于 k-近邻用于分类或回归。


English Description:

In pattern recognition, the k-Nearest Neighbors algorithm (or k-NN for short) is a non-parametric method used for classification and regression. In both cases, the input consists of the k closest training examples in the feature space. The output depends on whether k-NN is used for classification or regression.


代码预览