当前位置:网站首页>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 :
边栏推荐
- PXE installation "recommended collection"
- 勵志!大凉山小夥全獎直博!論文致謝看哭網友
- Attack and defense world PWN question: Echo
- In the era of consumer Internet, a few head platforms have been born
- Data preparation for behavior scorecard modeling
- 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)
- Infix expression is converted to suffix expression (C language code + detailed explanation)
- B-end e-commerce - reverse order process
- Kt148a voice chip IC software reference code c language, first-line serial port
- AcWing 1126. Minimum cost solution (shortest path Dijkstra)
猜你喜欢

Complete example of pytorch model saving +does pytorch model saving only save trainable parameters? Yes (+ solution)

良心总结!Jupyter Notebook 从小白到高手,保姆教程来了!

RPD product: super power squad nanny strategy

Cs5268 perfectly replaces ag9321mcq typec multi in one docking station solution

Conscience summary! Jupyter notebook from Xiaobai to master, the nanny tutorial is coming!

Educational codeforces round 129 (rated for Div. 2) supplementary problem solution

Attack and defense world PWN question: Echo

SQLite 3.39.0 release supports right external connection and all external connection

Design and implementation of ks004 based on SSH address book system

JASMINER X4 1U deep disassembly reveals the secret behind high efficiency and power saving
随机推荐
Sometimes only one line of statements are queried, and the execution is slow
Educational codeforces round 129 (rated for Div. 2) supplementary problem solution
现在券商的优惠开户政策什么?实际上网上开户安全么?
JASMINER X4 1U deep disassembly reveals the secret behind high efficiency and power saving
Refactoring: improving the design of existing code (Part 2)
API documentation tool knife4j usage details
Motivation! Big Liangshan boy a remporté le prix Zhibo! Un article de remerciement pour les internautes qui pleurent
[NLP] a detailed generative text Abstract classic paper pointer generator
How to set priorities in C language? Elaborate on C language priorities
ShardingSphere-JDBC5.1.2版本关于SELECT LAST_INSERT_ID()本人发现还是存在路由问题
Génération automatique de fichiers d'annotation d'images vgg
HDL design peripheral tools to reduce errors and help you take off!
R language uses econcharts package to create microeconomic or macroeconomic maps, and indifference function to visualize indifference curve
AcWing 1128. Messenger solution (shortest path Floyd)
【Hot100】22. bracket-generating
Self-Improvement! Daliangshan boys all award Zhibo! Thank you for your paper
Kt148a voice chip IC software reference code c language, first-line serial port
Basic concept of database, installation and configuration of database, basic use of MySQL, operation of database in the project
Automatic reading of simple books
CheckListBox control usage summary
https://blog.csdn.net/haishaoli/article/details/79647594