当前位置:网站首页>[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
边栏推荐
猜你喜欢
随机推荐
OC -- first acquaintance
OC--类别 扩展 协议与委托
[code source] daily question tree
OC--Foundation--集合
Kotlin 实现文件下载
如何安装pytorch?—— 一种最简单有效的方法!
Sort out personal technology selection in 2022
解决esp8266无法连接手机和电脑热点的问题
Wechat applet realizes the rotation map (automatic switching & manual switching)
解决QTCreator使用VS编译中文乱码错误
UI - infinite rotation chart and column controller
[code source] daily question simple fields and
Create personal extreme writing process - reprint
[code source] a prime number of fun every day (BFS)
Why use json.stringify() and json.parse()
Job 7.15 shell script
[code source] score split of one question per day
App的生命周期和AppleDelegate,SceneDelegate
Object initialization
Raspberry sect door ban system based on face recognition









