1.概率与统计
1-(3)(条件概率)
If your friend flipped a fair coin three times, and tell you that one of the tosses resulted in head, what is the probability that all three tosses resulted in heads?
此题为条件概率:抛三次硬币告诉你其中有一次为正,求全为正的概率。告诉其中有一次为正,意为至少有一次为正。
设A为三次全为正,B为至少有一次为正,即求.
1-(4)(贝叶斯概率)
A program selects a random integer X like this: a random bit is first generated uniformly. If the bit is 0, X is drawn uniformly from {0, 1, . . . , 7}; otherwise, X is drawn uniformly from {0, −1, −2, −3}. If we get an X from the program with |X| = 1, what is the probability that X is negative?
此题为贝叶斯概率公式:
此题即为:
2.线性代数
(a)为SVD分解,其中U和V皆为正交矩阵,即U的逆矩阵等于U的转置。中间的矩阵 为非负的实对角矩阵,化简即可。
(b)直接相乘为单位矩阵即可证。