没有合适的资源?快使用搜索试试~ 我知道了~
计算机视觉模型、推理课后习题答案
3星 · 超过75%的资源 需积分: 50 82 下载量 190 浏览量
2018-11-20
17:57:24
上传
评论 6
收藏 3.19MB PDF 举报
温馨提示
试读
90页
计算机视觉模型、推理课后习题答案
资源推荐
资源详情
资源评论
Answer booklet for students
July 7, 2012
2
Copyright
c
2012 by Simon Prince. This latest version of this document can be downloaded from
http://www.computervisionmodels.com.
Answer booklet
This document accompanies the book “Computer vision: models, learning, and
inference” by Simon J.D. Prince, (http://www.computervisionmodels.com). This
document contains answers to a selected subset of the problems at the end of each
of the chapters of the main book. The remaining answers are available only to
instructors via Cambridge University Press.
The included answers mostly involve derivations which would have detracted
from the main text. I’ve also included the answers to any problems which contained
an error in the original book, and I’ve corrected all of these errors in the current
document. If you are systematically working through the problems in the book, it
is hence better to work from this booklet which I will try to keep as up to date as
possible.
This document has not yet been checked very carefully. I really need your help
in this regard and I’d be very grateful if you would mail me at s.prince@cs.ucl.ac.uk
if you cannot understand the text or if you think that you find a mistake. Sugges-
tions for extra problems will also be gratefully received!
Simon Prince
July 7, 2012
Copyright
c
2012 by Simon Prince. This latest version of this document can be downloaded from
http://www.computervisionmodels.com.
4
Copyright
c
2012 by Simon Prince. This latest version of this document can be downloaded from
http://www.computervisionmodels.com.
Chapter 2
Introduction to probability
Problem 2.1 Give a real-world example of a joint distribution P r(x, y) where x is discrete
and y is continuous.
Problem 2.2 What remains if I marginalize a joint distribution P r(v, w, x, y, z) over five
variables with respect to variables w and y? What remains if I marginalize the resulting
distribution with respect to v?
Problem 2.3 Show that the following relation is true:
P r(w, x, y, z) = P r(x, y)P r(z|w, x, y)P r(w|x, y).
Problem 2.4 In my pocket there are two coins. Coin 1 is unbiased, so the likelihood
P r(h = 1|c = 1) of getting heads is 0.5 and the likelihood P r(h = 0|c = 1) of getting
tails is also 0.5. Coin 2 is biased, so the likelihood P r(h = 1|c = 2) of getting heads is
0.8 and the likelihood P r(h = 0|c = 2) of getting tails is 0.2. I reach into my pocket and
draw one of the coins at random. There is an equal prior probability I might have picked
either coin. I flip the coin and observe a head. Use Bayes’ rule to compute the posterior
probability that I chose coin 2.
Problem 2.5 If variables x and y are independent and variables x and z are independent,
does it follow that variables y and z are independent?
Answer
No, it does not follow. Consider any general distribution P r(y, z) where y and z are NOT
independent. Now consider the marginal distributions P r(y) and P r(z). It is perfectly
possible to have a third distribution P r(x) which does not provide any information about
y or z and hence is independent of each and P r(x, y) = P r(x)P r(y) and P r(x, z) =
P r(x)P r(z).
If you are unsure about this, then construct a counter example where x, y and z are
all discrete variables with two entries. Construct a non-independent 2 × 2 distribution
between y and z, marginalize it with respect to each and then construct 2×2 independent
joint distributions between x and z and x and y.
Copyright
c
2012 by Simon Prince. This latest version of this document can be downloaded from
http://www.computervisionmodels.com.
剩余89页未读,继续阅读
资源评论
- xiangnanlaboratory2021-01-04只有部分答案
kellyisswhu
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功