当前位置:网站首页>Chapter 12 Bayesian Networks
Chapter 12 Bayesian Networks
2022-08-05 08:09:00 【Sang Zhiwei 0208】
1 概率公式
条件概率:
全概率公式:
贝叶斯公式(Bayes):
2 贝叶斯公式
2.1 Thinking brought by Bayesian formula
given some samples,Calculate a conclusion in these samples出现的概率,即
贝叶斯公式
sample given,则对于任何是常数,Normalization factor only.
:忽略
:If these conclusionsThe prior probability is equal(或近似),can be deduced from this.
2.2 贝叶斯公式的应用
金条问题:
Let these three boxes be B=1,B=2,B=3, Two precious metals are M=G(金条),M=S(silver bullion)
所以已知:
问题就转化为求
解答:
2.3 贝叶斯网络
- The random variables involved in a research system,根据是否条件独立绘制在一个有向图中,就形成了贝叶斯网络.
- 贝叶斯网络(Bayesian Network),Also known as directed acyclic graph model,It is one of the probabilistic graphical models,根据概率图的拓扑结构,考察一组随机变量及其组条件概率分布.
- Probabilistic graphical models are divided into Markov network models(无向图)and Bayesian network models(有向图).
- 一般而言,贝叶斯网络的有向无环图中的节点表示随机变量,它们可以是可观察到的变量,或隐变量、未知参数等.连接两个节点的箭头代表此两个随机变量是具有因果关系(或非条件独立).若两个节点间以一个单箭头连接在一起,表示其中一个节点是“因(parents)”,另一个是‘果(children)”,两节点就会产生一个条件概率值.
- A simple Bayesian network
2.4 Full Bayesian network
There are edge connections between each pair of nodes
举例说明:当K=5时
2.5 "正常"的贝叶斯网络
- Some edges are missing
- 如下图所示:直观上独立,在independent under the given conditions
- 的联合分布为:
举例说明:
例一:
由于呼吸困难(D)The cause is lung cancer(C)and bronchitis(B),Hence the above table(CPD).
例二:
The joint distribution of all random variables is :
实际上,Joint distribution if required,Only a topology diagram needs to be given,And the probability distribution table between each random variable is enough.
2.6 “特殊”的贝叶斯网络
Conditional independence is determined by a Bayesian network:
(1)情况一:tail-to-tail
由图可看出:
所以:
又因为:
所以:
即在c给定条件下,a和b被阻断,是独立的.
(2)情况二:head-to-tail
由于
所以有:
即在c给定条件下,a和b被阻断,是独立的.
(3)情况三:head-to-head
由于
所以有:
从而:
即在c未知的条件下,a和b被阻断,是独立的.
边栏推荐
- Redis implements distributed lock-principle-detailed explanation of the problem
- JS语法使用
- Algorithm Supplements Fifteen Complementary Linked List Related Interview Questions
- 【深度学习实践(一)】安装TensorFlow
- 图片地址转为base64
- 8.4模拟赛总结
- Codeforce 8.1-8.7做题记录
- 网络安全研究发现,P2E项目遭遇黑客攻击只是时间问题
- nn.unfold和nn.fold
- Access Denied: "microsoft.web.ui.webcontrols" workaround
猜你喜欢
随机推荐
作为一个男人必须明白的22个道理
YOLOv3 SPP理论详解(包括CIoU及Focal loss)
Iptables implementation under the network limited (NTP) synchronization time custom port
执子之手,与子偕老。你同意么?
二叉树进阶复习1
Stored procedure writing experience and optimization measures
宝塔实测-搭建中小型民宿酒店管理源码
uniapp时间组件封装年-月-日-时-分-秒
RedisTemplate: 报错template not initialized; call afterPropertiesSet() before using it
ps怎么拼图,自学ps软件photoshop2022,PS制作拼图效果
Long-term recruitment embedded development-Shenzhen Baoan
Fiddler tool explanation
微信 小程序 之PC端 不支持 wx.previewMedia 方法 故用自定义轮播图进行 模拟照片视频的播放
Green Apple Forum reopens
[Untitled] Long-term recruitment of hardware engineers-Shenzhen Baoan
MVCC of Google's Fragmented Notes (Draft)
JVM运行流程,运行时数据区,类加载,垃圾回收,JMM解析
漂亮MM和普通MM的区别
真正爱你的女人是这样的
DataFrame insert row and column at specified position