文件名称:KNN
介绍说明--下载内容来自于网络,使用问题请自行百度
在训练集中数据和标签已知的情况下,输入测试数据,将测试数据的特征与训练集中对应的特征进行相互比较,找到训练集中与之最为相似的前K个数据,则该测试数据对应的类别就是K个数据中出现次数最多的那个分类。(In the case where the training data and the tag are known, the test data is input, the characteristics of the test data are compared with the characteristics corresponding to the training set, and the former K data with the most similarity in the training set are found. The category is the sort of the largest number of occurrences of K data.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
KNN\KNN.m
KNN\KNN.py
KNN\KNNdatgingTest.m
KNN\README.md
KNN\datingTestSet2.txt
KNN\handWritingTest.m
KNN
KNN\KNN.py
KNN\KNNdatgingTest.m
KNN\README.md
KNN\datingTestSet2.txt
KNN\handWritingTest.m
KNN
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
