[PGM] What is Probabalistic Graphical Models
学术潜规则:
概率图模型提出的意义在于将过去看似零散的topic/model以一种统一的方式串联了起来,它便于从整体上看待这些问题,而非具体解决了某个细节。
举个例子:梯度下降,并非解决神经网络收敛问题而专门提出的什么算法,其实是凸优化理论中的一部分。凸优化理论的作用就是概率图模型的贡献所在。
统计机器学习,有数学系角度的认识,也有计算机系角度的认识。
该课程更偏向于数学系视角,所以课程中包含了大量的概率基础。但课程的top不够,但并非讲师不行,而是计算机系的学生并未系统的学习贝叶斯推断所致。
这门课从目录看来,比较系统全面,只是讲课水平与女魔头 Stanford -Daphne Koller 有一点距离,可能是讲师性格所致。
MIT - Algorithms-for-Inference
MIT的PPT看上去怎么这么变态!
其实,“统计机器学习”就是PGM,或者说是Advanced PGM。从这个角度来讲,将高斯过程,LDA等划分到Advanced PGM是比较合理的。
Lectures from Carnegie Mellon University course 10-708
Resource: https://www.cs.cmu.edu/~epxing/Class/10708-15/lecture.html
学习笔记:一些基础概念,仅关注与Bayesian Inference之间的关系并强化理解
Lecture 01
1.
GM = Multivariate Statistics + Structure PGM是一种宏观的架构,而非具体的什么。
2.

3.

4.
An MLer's View of the World


其实就是在说神经网络的特点。最后就是课程的大纲。

Lecture 02
多元变量分布 (表示方式)
色子:有人出老千了么?
Picking variables
Observed
Hidden
Picking structure
CAUSAL
Generative
Coupling
Picking Probabilities
Zero probabilities
Orders of magnitudes
Relative values
Bayesian Network: Factorization Theorem
Local Structures & Independencies

Ref: [Bayes] openBUGS: this is not the annoying bugs in programming
第一条,第二条:
- 不知道B的话,a孩子的血型是AC,其实“反作用”于c双亲不可能是O型血。然后,这个推断也影响了C孩子的血型可能性,即:也不可能是O型血。
- 知道了B的话,比如c父母只有A and B血型因子,那么A and C孩子变为了在B已知条件下的独立。
第三条:Only the third one (V-structure) is different.
- 没发现C,A AND B 不依赖。
- 若发现C,A AND B 则依赖。(以上恰恰相反)
I-maps
建立图(分布)之间的关系,

P1: 可求得 x0 = 0.4, x1 = 0.6; y0 = 0.2, y1 = 0.8,可见x与y独立。
P2: 得不到独立的x与y。
我们需要I-MAP来得到P1。
Graph separation criterion
目的,
D-Separation(D分离),判断 x, y, z之间有(独立)关系么?
我们希望确定,任意给一个有向图即贝叶斯网络,我们可以得到图中任意A.B是否关于C条件独立。

Then,
x --> y之间有一条path;
z 不能 block x to y。
Thus,
x and y are not conditionally independent (不是条件独立) to given z。
active 的定义 for D-Separation(D分离)
Causal trail X → Z → Y : active if and only if Z is not observed.
Evidential trail X ← Z ← Y : active if and only if Z is not observed.
Common cause X ← Z → Y : active if and only if Z is not observed.
Common effect X → Z ← Y : active if and only if either Z or one of Z’s descendants is observed.
谨记:
如果,两个 sets of interests 之间有 active trail,
那么,they are not conditionally independent (有活动的,则不条件独立).
"Bayes-Bayesball" algorithm
active: ball can go through; If not, bound back.

结果包含了所有的“条件独立”的状态。但不是所有的“条件独立”都需要关心。
The Equivalence Theorem

举个栗子
看得头大,来个栗子!连续分布与离散分布的表示:


总结,感觉讲得一般,投靠女魔头 Professor Daphne Koller
[PGM] What is Probabalistic Graphical Models的更多相关文章
- 使用 LaTeX 绘制 PGM(Probabilistic Graphical Models)中的贝叶斯网络(bayesian networks)
Software for drawing bayesian networks (graphical models) 这里需要调用 latex 中的绘图库:TikZ and PGF. 注意,下述 tex ...
- 贝叶斯网络基础(Probabilistic Graphical Models)
本篇博客是Daphne Koller课程Probabilistic Graphical Models(PGM)的学习笔记. 概率图模型是一类用图形模式表达基于概率相关关系的模型的总称.概率图模型共分为 ...
- PGM:概率图模型Graphical Model
http://blog.csdn.net/pipisorry/article/details/51461878 概率图模型Graphical Models简介 完全通过代数计算来对更加复杂的模型进行建 ...
- Probabilistic Graphical Models
http://innopac.lib.tsinghua.edu.cn/search~S1*chx?/YProbabilistic+Graphical+Models&searchscope=1& ...
- Exact Inference in Graphical Models
独立(Independence) 统计独立(Statistical Independence) 两个随机变量X,Y统计独立的条件是当且仅当其联合概率分布等于边际概率分布之积: \[ X \perp Y ...
- 深度学习基础 Probabilistic Graphical Models | Statistical and Algorithmic Foundations of Deep Learning
目录 Probabilistic Graphical Models Statistical and Algorithmic Foundations of Deep Learning 01 An ove ...
- [Machine Learning] Probabilistic Graphical Models:一、Introduction and Overview(1、Overview and Motivation)
一.PGM用来做什么 1. 医学诊断:从各种病症分析病人得了什么病,该用什么手段治疗 2. 图像分割:从一张百万像素级的图片中分析每个像素点对应的是什么东西 两个共同点:(1)有非常多不同的输入变 ...
- PRML读书会第八章 Graphical Models(贝叶斯网络,马尔科夫随机场)
主讲人 网神 (新浪微博: @豆角茄子麻酱凉面) 网神(66707180) 18:52:10 今天的内容主要是: 1.贝叶斯网络和马尔科夫随机场的概念,联合概率分解,条件独立表示:2.图的概率推断in ...
- 图模型的统计推断 inference in graphical models(马尔科夫链的推断)
有关因子图(factor graphs)以及其在sum product 算法,max-algorithm中的应用,将在一下篇博客中分享. 谢谢您的关注,欢迎提出意见问题.
随机推荐
- UVa 127 - "Accordian" Patience POJ 1214 链表题解
UVa和POJ都有这道题. 不同的是UVa要求区分单复数,而POJ不要求. 使用STL做会比較简单,这里纯粹使用指针做了,很麻烦的指针操作,一不小心就错. 调试起来还是很费力的 本题理解起来也是挺费力 ...
- [Java web]Spring+Struts2+Hibernate整合过程(2)
摘要 上篇文章介绍了一种整合方式,不妨就叫做有hibernate配置文件的方式,这里介绍一种不用hibernate.cfg.xml的一种配置方式,为了方便,就仍在上篇的demo中,继续修改了. 步骤 ...
- AngualrJS中制作一个有关菜单的Directive
通常我们这样写一个菜单: <ul> <li data-ng-class="{'active': highlight('/orders')}"> <a ...
- android:View的setTag和getTag
Adapter 有个getView方法,可以使用setTag把查找的view缓存起来方便多次重用 public View getView(int position, View convertView, ...
- 【转】大数据分析中Redis怎么做到220万ops
原文:http://www.cnblogs.com/nnhy/archive/2018/01/16/Redis220.html 大数据时代,海量数据分析就像吃饭一样,成为了我们每天的工作.为了更好的为 ...
- 如何让FireFox/chrome新打开的标签页在后台打开,而不是立即跳转过去
firefox: 地址栏输入about:config 找到下面三项,全部设为true browser.tabs.loadInBackground browser.tabs.loadDivertedIn ...
- 全景分割pipeline搭建
全景分割pipeline搭建 整体方法使用语义分割和实例分割结果,融合标签得到全景分割结果: 数据集使用:panoptic_annotations_trainval2017和cityscapes; p ...
- C++中的extern
这篇文章解释的简单明了: https://stackoverflow.com/questions/10422034/when-to-use-extern-in-c This comes in usef ...
- Jenkins常用插件
Generic Webhook Trigger Plugin触发器webhook用户触发构建 Deploy to container Plugin部署到tomcat Gradle Plugin Gra ...
- [转]BLAS简介
BLAS(Basic Linear Algebra Subprograms)是一组线性代数计算中通用的基本运算操作函数集合[1] .BLAS Technical (BLAST) Forum负责规范BL ...
