当前位置:网站首页>[data mining] nearest neighbor and Bayesian classifier
[data mining] nearest neighbor and Bayesian classifier
2022-07-25 09:47:00 【clusters of stars ¹ ⁸⁹⁵】
data mining
1. Nearest neighbor classifier
1.1 The evolution of learning methods
- Active learning methods
- Negative learning methods
- rote classifier
- Nearest neighbor classifier
1.2 The basic idea
If it walks like a duck , Bark like a duck , Then it's probably a duck .
Calculate the k Recent training examples , according to k Determine the category of test samples by the category of the nearest neighbor training samples .
- Elements of nearest neighbor classifier :
- The training sample
- Distance metric
- k Value selection
1.3 Features of nearest neighbor classifier
- Case based learning , There is no need to learn the model
- Testing samples is expensive ,
- k The value is too small to be disturbed by noise ,k It's easy if the value is too big
- The classification boundary is like a honeycomb
1.4 Advantages and disadvantages of nearest neighbor classifier
- advantage
- Nearest neighbor is a nonparametric classification technique , Simple and intuitive , Easy to implement
- It's an online technology , New data can be added directly to the data set without retraining
- shortcoming
- When the sample is unbalanced
1.5 Improvement of nearest neighbor classifier :K-D Trees
边栏推荐
猜你喜欢
随机推荐
Some usages of Matlab's find() function (quickly find qualified values)
Class (2) and protocol
基于树莓派4b的传感器数据可视化实现
卷积神经网络发展历程(部分)
十进制整数转换为其它进制的数
The jar package has been launched on Alibaba cloud server and the security group has been opened, but postman still can't run. What should we do
Esp8266的Flash读写操作以及Flash上传文件
初识Opencv4.X----图像卷积
初识Opencv4.X----为图像添加高斯噪声
OC -- object replication
关于C和OC
Job 7.15 shell script
初识Opencv4.X----图像直方图均衡
初识Opencv4.X----均值滤波
Prim minimum spanning tree (diagram)
Stm32+hc05 serial port Bluetooth design simple Bluetooth speaker
文件--初识
Raspberry sect door ban system based on face recognition
Dream set sail (the first blog)
解决esp8266无法连接手机和电脑热点的问题









