学术潜规则:

概率图模型提出的意义在于将过去看似零散的topic/model以一种统一的方式串联了起来,它便于从整体上看待这些问题,而非具体解决了某个细节。

举个例子:梯度下降,并非解决神经网络收敛问题而专门提出的什么算法,其实是凸优化理论中的一部分。凸优化理论的作用就是概率图模型的贡献所在。

统计机器学习,有数学系角度的认识,也有计算机系角度的认识。

统计机器学习 - 张志华

该课程更偏向于数学系视角,所以课程中包含了大量的概率基础。但课程的top不够,但并非讲师不行,而是计算机系的学生并未系统的学习贝叶斯推断所致。

CMU - Eric Xing

这门课从目录看来,比较系统全面,只是讲课水平与女魔头 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

第一条,第二条:

    1. 不知道B的话,a孩子的血型是AC,其实“反作用”于c双亲不可能是O型血。然后,这个推断也影响了C孩子的血型可能性,即:也不可能是O型血。
    2. 知道了B的话,比如c父母只有A and B血型因子,那么A and C孩子变为了在B已知条件下的独立。

第三条:Only the third one (V-structure) is different.

    1. 没发现C,A AND B 不依赖。
    2. 若发现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的更多相关文章

  1. 使用 LaTeX 绘制 PGM(Probabilistic Graphical Models)中的贝叶斯网络(bayesian networks)

    Software for drawing bayesian networks (graphical models) 这里需要调用 latex 中的绘图库:TikZ and PGF. 注意,下述 tex ...

  2. 贝叶斯网络基础(Probabilistic Graphical Models)

    本篇博客是Daphne Koller课程Probabilistic Graphical Models(PGM)的学习笔记. 概率图模型是一类用图形模式表达基于概率相关关系的模型的总称.概率图模型共分为 ...

  3. PGM:概率图模型Graphical Model

    http://blog.csdn.net/pipisorry/article/details/51461878 概率图模型Graphical Models简介 完全通过代数计算来对更加复杂的模型进行建 ...

  4. Probabilistic Graphical Models

    http://innopac.lib.tsinghua.edu.cn/search~S1*chx?/YProbabilistic+Graphical+Models&searchscope=1& ...

  5. Exact Inference in Graphical Models

    独立(Independence) 统计独立(Statistical Independence) 两个随机变量X,Y统计独立的条件是当且仅当其联合概率分布等于边际概率分布之积: \[ X \perp Y ...

  6. 深度学习基础 Probabilistic Graphical Models | Statistical and Algorithmic Foundations of Deep Learning

    目录 Probabilistic Graphical Models Statistical and Algorithmic Foundations of Deep Learning 01 An ove ...

  7. [Machine Learning] Probabilistic Graphical Models:一、Introduction and Overview(1、Overview and Motivation)

    一.PGM用来做什么 1.  医学诊断:从各种病症分析病人得了什么病,该用什么手段治疗 2.  图像分割:从一张百万像素级的图片中分析每个像素点对应的是什么东西 两个共同点:(1)有非常多不同的输入变 ...

  8. PRML读书会第八章 Graphical Models(贝叶斯网络,马尔科夫随机场)

    主讲人 网神 (新浪微博: @豆角茄子麻酱凉面) 网神(66707180) 18:52:10 今天的内容主要是: 1.贝叶斯网络和马尔科夫随机场的概念,联合概率分解,条件独立表示:2.图的概率推断in ...

  9. 图模型的统计推断 inference in graphical models(马尔科夫链的推断)

    有关因子图(factor graphs)以及其在sum product 算法,max-algorithm中的应用,将在一下篇博客中分享. 谢谢您的关注,欢迎提出意见问题.

随机推荐

  1. Guests组里的用户和其它组里的用户相比,在系统权限上有什么不同?

    系统的使用者主要分为:(以计算机管理员administrator 和普通用户User最为常用:一般个人电脑的话,不建议设置太多的用户,这样会影响系统的处理速度,增加许多的垃圾文件.) 1.Admini ...

  2. 最基本的区块链hello world(python3实现)

    源自 用不到 50 行的 Python 代码构建最小的区块链 (英文原文:Let’s Build the Tiniest Blockchain ) ,但是文中的代码是基于python2的,python ...

  3. HTML里用如何包含引用另一个html文件 .

    给大家整理了3个方法,一个是HTML的iframe标签,别两个是JS引用.比如要在arr.html文件里引用index.html文件,方法如下. HTML引用方法: <iframe name=& ...

  4. Knockout.Js官网学习(enable绑定、disable绑定)

    enable绑定 enable绑定使DOM元素只有在参数值为 true的时候才enabled.在form表单元素input,select,和textarea上非常有用. enable简单示例 < ...

  5. org.hibernate.QueryException: JPA-style positional param was not an integral ordinal; nested exception is java.lang.IllegalArgumentException: org.hibernate.QueryException: JPA-style positional param w

    org.hibernate.QueryException: JPA-style positional param was not an integral ordinal; nested excepti ...

  6. 如何唯一的标识一台Android设备?

    UUID : (Universally Unique Identifier)全局唯一标识符,是指在一台机器上生成的数字,它保证对在同一时空中的所有机器都是唯一的.由以下几部分的组合:当前日期和时间(U ...

  7. scala recursive value x$5 needs type

    recursive value x$5 needs type的原因是使用了一个类型不确定的变量,例如 val (id, name) = (id, getName(id)) 其中id是个变量,其值还不确 ...

  8. EF迁移命令

    EF迁移设置的最后一步是在包管理器控制台中输入命令“add-migration InitialMigration -IgnoreChanges”.“InitialMigration”(高亮的黄色)是您 ...

  9. 你可能不知道的51个Linux经典命令

    1.删除0字节文件 代码如下: find -type f -size 0 -exec rm -rf {} \; 2.查看进程按内存从大到小排列 代码如下: ps -e -o "%C : %p ...

  10. 如何在页面中获取到ModelAndView绑定的值

    以下内容转自:https://blog.csdn.net/qq_16071145/article/details/51341052 springMVC中通过ModelAndView进行后台与页面的数据 ...