当前位置:网站首页>Two understandings of Bayes formula
Two understandings of Bayes formula
2022-06-21 17:40:00 【anthea_ luo】
Bayes' formula :P(A|B) = P(B|A) * P(A) / P(B)
The meaning is : In known B When it happens A Probability of occurrence .
Bayes' formula It's machine learning More basic , It is also the first thing you will contact when learning , Let's take a look , Two ways to understand it .
There is a saying that :
The full probability formula describes For the same result , There are many reasons for this , Ask what is the probability of such an outcome ? It can be understood as Cause and effect Smooth process
Bayesian formula describes When the results are known , Ask about the possibility of some cause leading to this result How much is the ? Cling to the fruit . It can be understood as Cause and effect The process of finding the inverse
such , In the above formula , Sure A It's the reason B It is the result. , But in the above formula ,A and B It can also be an independent event .
Put the denominator in the formula Move to the other side ,P(A|B) * P(B) = P(B|A) * P(A) The meaning is : happen B And happen A Probability = happen A And happen B Probability That is to say AB Intersection . That is, both things happen . But the order of occurrence can be different , It can correspond to two How to understand Bayes formula :
If B First , Just focus on B What happened after , The following picture shows shadow Occupy B Proportion of events Is the probability
If A First , Prior probability * Adjustment factor The adjustment factor refers to ( Conditional probability / Total probability )

There are three common examples , Such as :
The result of an examination of a disease ( Suppose the incidence rate of this disease in a region One thousandth . Some kind of test method For people who really have this disease The test result is 100% positive , There are no mistakes ; But the results of tests on people without the disease There may be 5% The possibility of Misdiagnosis as positive . One person was detected The disease is positive , So what is the probability that this person is really sick ?)
or Examples of machine status and production of qualified products ( The machine is in good condition The probability of producing qualified products is 90%, In the fault state The probability of producing qualified products is 30%, The probability of a good machine is 75%. If the first product in a day is qualified , So today What is the probability that the machine is good .)
or Examples of cloudy and rainy :(50% On a rainy morning It's cloudy , about 40% The day of It's cloudy in the morning , This area averages 30 There are usually only 3 It will rain ,10% Rain probability . If it's cloudy today , What is the probability of rain .)
| shadow Occupy B Proportion of events | Prior probability * Adjustment factor | |
| Disease detection | intersection ( Both Yang and illness ) / Check Yang | Be ill * Adjustment factor ( Really sick positive / All positive ) |
| The state of the machine | intersection ( The product is qualified and the machine is good ) / The product is qualified | The machine is in good condition * Adjustment factor ( Good and qualified / All qualified ) |
| Cloud and rain probability | intersection ( It's cloudy and rainy ) / cloudy | It's raining * Adjustment factor ( Rain cloud / All clouds ) |
边栏推荐
- [Error] ‘vector‘ was not declared in this scope
- module.exports指向问题
- 为什么RedisCluster设计成16384个槽?
- PTA L3-031 千手观音 (30 分)
- iframe跨域传值
- 用Node创建一个服务器
- Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
- Clickhouse learning notes 2: basic use tutorial
- ViT杀疯了,10+视觉Transformer模型详解
- What is the difference between IEC62133 and EN62133? Which items are mainly tested?
猜你喜欢

Jetpack Compose 管理状态(一)

PingCAP 入选 2022 Gartner 云数据库“客户之声”,获评“卓越表现者”最高分

Common setting modes

3DE 运动轮廓数据修改

拉格朗日插值

稳若磐石的焱融 SaaS 服务平台背后,是数据生态的崛起

Bm19 looking for peak

Kubernetes + Yanrong SaaS data service platform, personalized demand support has never been lost

Lagrange interpolation

In the "roll out" era of Chinese games, how can small and medium-sized manufacturers solve the problem of going to sea?
随机推荐
Jetpack compose management status (I)
Android kotlin class delegation by, by lazy key
The main relations and differences between Poisson sampling and Bernoulli sampling
clickhouse学习笔记2:基本使用教程
win32com 操作excel
不是一流大学毕业,却通过自学软件测试,进了阿里年薪初始22K
How many items should the indoor intumescent fire retardant coating meet according to BS 476-21 fire resistance standard?
path. join() 、path. Basename() and path extname()
The node server res.end() writes Chinese, and the solution to the problem of garbled code in the client
海恩法则和费曼学习法
即将步入大四,开始我最真情的告白
Software test system learning and construction (13) - basic requirements for test engineers of test foundation
Go corn timing task simple application
I am about to enter my senior year and begin my most sincere confession
3DE 网格坐标点与物体的附加
我的小工具-卡片学习APP 完成啦
Vscade tool
鱼佬:电信客户流失预测赛方案!
Addition of 3DE grid coordinate points and objects
Matlab中xticks函数