This paper studies classification techniques based on nearest-neighbor (NN), and designs a classification algorithm based on the shelly-NN (SNN) approach, which is without bias at selecting nearest neighbors. Traditional kNN classification and the SNN model are studied at the ideas of algorithm design and key techniques. Then they are also compared at the classification accuracy using several UCI data sets. Based on these researches, the paper gives the environment conditions suitable for the algorithms and analyzes the possible reasons. The results demonstrate that SNN algorithm is not sensitive to distance metrics and performs better at the classification accuracy on large data sets.%研究最近邻分类方法,应用S近邻技术的思想建立分类模型,设计一个新的S近邻(shelly nearestneighbor,SNN)分类算法,克服了七近邻(k nearest neighbor,kNN)分类算法在最近邻选择上可能存在偏好的问题.通过对传统的k近邻和新构造的S近邻分类算法的思想、关键技术等方面的分析,以及在UCI真实数据集实验上分类准确率的比较,概括出算法适宜的环境条件,并分析可能的原因.最后,总结得出SNN分类算法对距离度量不敏感,且在大数据集上具有更好分类效果的结论.
展开▼