当前位置:网站首页>Driverless learning (4): Bayesian filtering
Driverless learning (4): Bayesian filtering
2022-07-02 20:04:00 【biter0088】
notes : Learning notes , Refer to others more , Accumulate gradually
One 、 Occupy the grid map -- Binary Bayesian filtering
1.1 Binary Bayesian filtering background
Each small grid has three possible states at a certain time -- occupy occupied、 Free free, Among them, the small grid scanned by lidar points is the occupied grid 、 What is not swept is the idle grid . Suppose a single lidar scan , Sweep to a small space , The occupancy probability of this small cell is 0.9, The probability of being idle is 0.1; When you don't scan a small space , The probability of occupation is 0.2, The probability of being idle is 0.8.( These figures are assumed values )
Next, a small cell is scanned several times in succession / No scanned problems , That is, some of the several scans have scanned the small cell , After these times , What is the probability of the small cell being occupied . Let's change the expression of the occupancy probability of the lattice , The box “ Degree of confidence ” Express .
p(x)/p(-x)=p(x)/(1-p(x)) among x Indicates that the small cell is occupied ,p(x) Indicates the probability of being occupied
Take the natural logarithm on both sides at the same time :
l(x)=ln(p(x)/(1-p(x))) among l(x) Indicates the confidence that the small cell is occupied
In turn, , The probability that the small cell is occupied can be expressed as :
p(x)=1-1/(1+e^(l(x)))
1.2 Bayesian filtering
Bayesian filtering calculation routine :
l(t)=l(t-1)+ln(p(x|zt)/(1-p(x|zt)))-ln(p(x)/(1-p(x)))
among :
l(t) by t The confidence that time is occupied ,
l(t-1) by t-1 The confidence that time is occupied ,
zt by t Observations at the moment ,
p(x|zt) For in t moment , At the observed value ( Occupied or idle ) The probability of occupation in the case of
p(x) In order not to consider the actual situation , The probability of any small lattice being occupied , In this case 0.5
hypothesis 1.1 When a small cell is occupied, it is scanned three times in succession , Then it was not scanned , The confidence is calculated as follows :
initial value :L0=ln(0.5/0.5)=0
It was scanned for the first time :L1=L0+ln(0.9/0.1)-L0=ln9
It was scanned for the second time :L2=L1+ln(0.9/0.1)-L0=ln9+ln9
It was scanned for the third time :L3=L2+ln(0.9/0.1)-L0=ln9+ln9+ln9
It was scanned for the fourth time :L4=L3+ln(0.2/0.8)-L0=ln9+ln9+ln9-log4≈5.2
Then the probability of being occupied after four scans p(4)=1-1/(1+e^5.2)≈0.9945
1.3 Reference link :
边栏推荐
- Codeforces Round #771 (Div. 2)(A-C)
- In the era of consumer Internet, a few head platforms have been born
- AcWing 1129. Heat wave solution (shortest path SPFA)
- KS004 基于SSH通讯录系统设计与实现
- 有时候只查询一行语句,执行也慢
- Kt148a voice chip IC software reference code c language, first-line serial port
- Second hand housing data analysis and prediction system
- How to avoid duplicate data in gaobingfa?
- Spark source code compilation, cluster deployment and SBT development environment integration in idea
- 接口测试到底怎么做?看完这篇文章就能清晰明了
猜你喜欢
Implementation of online shopping mall system based on SSM
GCC: Graph Contrastive Coding for Graph Neural NetworkPre-Training
How to realize the function of detecting browser type in Web System
Kt148a voice chip instructions, hardware, protocols, common problems, and reference codes
Jetson XAVIER NX上ResUnet-TensorRT8.2速度與顯存記錄錶(後續不斷補充)
良心总结!Jupyter Notebook 从小白到高手,保姆教程来了!
Génération automatique de fichiers d'annotation d'images vgg
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush
【NLP】一文详解生成式文本摘要经典论文Pointer-Generator
KT148A语音芯片使用说明、硬件、以及协议、以及常见问题,和参考代码
随机推荐
Codeforces Round #771 (Div. 2)(A-C)
通信人的经典语录,第一条就扎心了……
CheckListBox control usage summary
How to avoid duplicate data in gaobingfa?
B-end e-commerce - reverse order process
【实习】解决请求参数过长问题
自动生成VGG图像注释文件
KT148A语音芯片ic的硬件设计注意事项
ShardingSphere-JDBC5.1.2版本关于SELECT LAST_INSERT_ID()本人发现还是存在路由问题
One side is volume, the other side is layoff. There are a lot of layoffs in byte commercialization department. What do you think of this wave?
台湾SSS鑫创SSS1700替代Cmedia CM6533 24bit 96KHZ USB音频编解码芯片
pytorch 模型保存的完整例子+pytorch 模型保存只保存可訓練參數嗎?是(+解决方案)
Educational codeforces round 129 (rated for Div. 2) supplementary problem solution
基于SSM实现网上购物商城系统
在消费互联网时代,诞生了为数不多的头部平台的话
自動生成VGG圖像注釋文件
Istio1.12:安装和快速入门
Data Lake (XII): integration of spark3.1.2 and iceberg0.12.1
蓝牙芯片ble是什么,以及该如何选型,后续技术发展的路径是什么
AcWing 341. Optimal trade solution (shortest path, DP)