当前位置:网站首页>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被阻断,是独立的.
边栏推荐
- SVG big fish eat small fish animation js special effects
- moment的使用
- P1103 书本整理
- v-if/v-else determines whether to display according to the calculation
- Redis缓存以及存在的问题--缓存穿透、缓存雪崩、缓存击穿及解决方法
- Use of thread pool (combined with Future/Callable)
- 每一个女孩曾经都是一个没有泪的天使
- 爱情是一部忧伤的乐曲
- C-Eighty seven(背包+bitset)
- MVCC of Google's Fragmented Notes (Draft)
猜你喜欢
Algorithm Supplements Fifteen Complementary Linked List Related Interview Questions
Embedded Systems: Basic Timers
MySQL 数据库 报错 The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid)
强网杯2022 pwn 赛题解析——house_of_cat
Fiddler tool explanation
嵌入式系统:基本定时器
TensorFlow installation steps
php向mysql写入数据失败
Ethernet Principle
餐饮大单品「真香」,却没有穿透周期的能力
随机推荐
MobileNetV2架构解析
【结构体内功修炼】结构体实现位段(二)
学习笔记14--机器学习在局部路径规划中的应用
唤醒手腕 - 微信小程序、QQ小程序、抖音小程序学习笔记(更新中)
MongoDB 语法大全
Mysql 死锁和死锁的解决方案
RedisTemplate: error template not initialized; call afterPropertiesSet() before using it
Liunx教程超详细(完整)
标准C语言15
数据库——概述
力扣每日一题
php fails to write data to mysql
【结构体内功修炼】枚举和联合的奥秘(三)
MM上街前的折腾(有趣)
Support touch screen slider carousel plugin
【无标题】长期招聘硬件工程师-深圳宝安
Chapter 12 贝叶斯网络
spark集群部署(第三弹)
openSource 知:社区贡献
Game Thinking 19: Multi-dimensional calculation related to games: point product, cross product, point-line-surface distance calculation