ML基石_HW0

Probability and Statistics

combinatorics

C(N,K)=N!K!(NK)!

Let C(N, K) = 1 for K = 0 or K = N, and C(N, K) = C(N − 1, K) + C(N − 1, K − 1) for N ≥ 1.
Prove that C(N, K) = N!/(K!(N−K)!) for N ≥ 1 and 0 ≤ K ≤ N.

counting

  1. 掷10次硬币,4次正面朝上的概率是 C(10,4)(12)10
  2. 从52张扑克里随机挑选5张,组成“XXXYY”的概率是 C(4,3)C(4,2)A(5,5)A(52,5)

conditional probability

掷一枚硬币三次,已知其中一次正面朝上,求三次全部正面朝上的概率 0.5310.53

bayes theorem

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?

union/intersection

If P(A) = 0.3 and P(B) = 0.4,
what is the maximum possible value of P(A ∩ B)?
0.3
what is the minimum possible value of P(A ∩ B)?
0
what is the maximum possible value of P(A ∪ B)?
0.7
what is the minimum possible value of P(A ∪ B)?
0.4

linear algebra

rank

2

inverse

[A|E] -> [E|A^-1]

[0.125 -0.625 0.750
-0.25 0.75 -0.50
0.375 -0.375 0.250 ]

eigenvalues/eigenvectors

singular value decomposition

PD/PSD

inner product

calculus

differential and partial differential

chain rule

gradient and Hessian

taylor’s expansion

optimization

vector calculus

参考资料

  1. 机器学习基石HomeWork0
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值