当前位置:网站首页>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 conclusions
The 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
由于
所以有:
![P(a,b|c)=P(a,b,c)/P(c)=[P(a)\cdot P(c|a)\cdot P(b|c)] /P(c)=[P(a,c)\cdot P(b|c)]/P(c)=P(a|c)\cdot P(b|c)](http://img.inotgo.com/imagesLocal/202208/05/202208050759403604_11.gif%3D%5BP%28a%29%5Ccdot%20P%28c%7Ca%29%5Ccdot%20P%28b%7Cc%29%5D%20/P%28c%29%3D%5BP%28a%2Cc%29%5Ccdot%20P%28b%7Cc%29%5D/P%28c%29%3DP%28a%7Cc%29%5Ccdot%20P%28b%7Cc%29)
即在c给定条件下,a和b被阻断,是独立的.

(3)情况三:head-to-head
由于
所以有:
从而:
即在c未知的条件下,a和b被阻断,是独立的.

边栏推荐
- JS语法使用
- moment的使用
- 【结构体内功修炼】枚举和联合的奥秘(三)
- 微信 小程序 之PC端 不支持 wx.previewMedia 方法 故用自定义轮播图进行 模拟照片视频的播放
- Constellation ideal lover
- P1160 队列安排
- JVM运行流程,运行时数据区,类加载,垃圾回收,JMM解析
- ps怎么把图片变清晰,自学ps软件photoshop2022,简单快速用ps让照片更清晰更有质感
- [Repost] Marry a man must marry a man whose salary is at least 3571.4 yuan higher than yours
- MongoDB 语法大全
猜你喜欢

YOLOv3 SPP理论详解(包括CIoU及Focal loss)

MobileNetV1架构解析
![[Structural Internal Power Cultivation] Structural Realization Stages (2)](/img/eb/c80e12edbf4a411227be7e33096ed3.png)
[Structural Internal Power Cultivation] Structural Realization Stages (2)

Jmeter永久设置中文界面

busybox 知:构建

Redis implements distributed lock-principle-detailed explanation of the problem
![[Structure internal power practice] Structure memory alignment (1)](/img/31/4ddc16810da8238ac95a93d007e12e.png)
[Structure internal power practice] Structure memory alignment (1)

unity 头发的渲染

MySQL 数据库 报错 The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid)

原型&原型链
随机推荐
[Repost] Marry a man must marry a man whose salary is at least 3571.4 yuan higher than yours
[转帖]嫁人一定要嫁工资至少比你高3571.4元的男士
爬虫之验证码
吴恩达深度学习deeplearning.ai——第一门课:神经网络与深度学习——第二节:神经网络基础(下)
pnpm 是凭什么对 npm 和 yarn 降维打击的
EA谈单机游戏:仍是产品组合中极其重要的部分
软件系统测试和验收测试有什么联系与区别?专业软件测试方案推荐
Mysql 死锁和死锁的解决方案
导出SQLServer数据到Excel中
微信 小程序 之PC端 不支持 wx.previewMedia 方法 故用自定义轮播图进行 模拟照片视频的播放
[Structural Internal Power Cultivation] The Mystery of Enumeration and Union (3)
Jmeter永久设置中文界面
利用Jenkins的持续集成
青苹果论坛重新开放
C-Eighty seven(背包+bitset)
奇怪的Access错误
数据库——概述
关于MP3文件中找不到TAG标签的问题
Codeforce 8.1-8.7做题记录
JS语法使用
及其
组条件概率分布.
独立,
在
independent under the given conditions
的联合分布为: