当前位置:网站首页>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 :
边栏推荐
- 【Kubernetes系列】kubeadm reset初始化前后空间、内存使用情况对比
- Cuckoo filter
- 【Hot100】21. Merge two ordered linked lists
- 自动化制作视频
- JS how to get integer
- c语言链表--待补充
- At compilation environment setup -win
- AcWing 1135. Happy New Year (shortest path + search)
- 想请教一下,我在东莞,到哪里开户比较好?手机开户是安全么?
- HDL design peripheral tools to reduce errors and help you take off!
猜你喜欢

Development skills of rxjs observable custom operator

KS004 基于SSH通讯录系统设计与实现

接口测试到底怎么做?看完这篇文章就能清晰明了
![[NLP] a detailed generative text Abstract classic paper pointer generator](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[NLP] a detailed generative text Abstract classic paper pointer generator

B端电商-订单逆向流程

Summary of interview experience, escort your offer, full of knowledge points

自動生成VGG圖像注釋文件

RPD出品:Superpower Squad 保姆级攻略

Why do I have a passion for process?

Data Lake (XII): integration of spark3.1.2 and iceberg0.12.1
随机推荐
AcWing 903. Expensive bride price solution (the shortest path - building map, Dijkstra)
C language linked list -- to be added
SBT tutorial
想请教一下,我在东莞,到哪里开户比较好?手机开户是安全么?
MySQL function
【Kubernetes系列】kubeadm reset初始化前后空间、内存使用情况对比
The first of the classic quotations of correspondents is heartbreaking
RPD product: super power squad nanny strategy
Overview of browser caching mechanism
Solution to blue screen after installing TIA botu V17 in notebook
Exemple complet d'enregistrement du modèle pytoch + enregistrement du modèle pytoch seuls les paramètres d'entraînement sont - ils enregistrés? Oui (+ Solution)
【871. 最低加油次数】
分享几个图床网址,便于大家分享图片
Automatically generate VGg image annotation file
How to realize the function of detecting browser type in Web System
[daily question] 241 Design priorities for operational expressions
Automatic reading of simple books
API文档工具knife4j使用详解
Resunnet - tensorrt8.2 Speed and Display record Sheet on Jetson Xavier NX (continuously supplemented)
外包干了三年,废了...
https://blog.csdn.net/haishaoli/article/details/79647594