当前位置:网站首页>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
由于
所以有:
即在c给定条件下,a和b被阻断,是独立的.
(3)情况三:head-to-head
由于
所以有:
从而:
即在c未知的条件下,a和b被阻断,是独立的.
边栏推荐
猜你喜欢
随机推荐
链表专项之环形链表
小本创业者的致胜法宝!
Controlling number and letter input in ASP
JVM运行流程,运行时数据区,类加载,垃圾回收,JMM解析
爬虫从入门到入牢
Thinking after writing a code with a very high CPU usage
Mysql 死锁和死锁的解决方案
RedisTemplate: error template not initialized; call afterPropertiesSet() before using it
JS语法使用
MobileNetV1架构解析
Algorithm Supplements Fifteen Complementary Linked List Related Interview Questions
Fiddler工具讲解
The magic weapon for small entrepreneurs!
Redis cache and existing problems--cache penetration, cache avalanche, cache breakdown and solutions
512色色谱图
彩绘漂亮MM集
Ethernet Principle
8.4模拟赛总结
每一个女孩曾经都是一个没有泪的天使
ps怎么把图片变清晰,自学ps软件photoshop2022,简单快速用ps让照片更清晰更有质感