






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Roadmap Python Matrix Calculus Recurrence Relation Probability Theory
Gotchas
References
Useful Properties
”v − squared” = ‖v‖^22 = v · v = vT^ v (A + B)T^ = AT^ + BT (AB)T^ = BT^ AT
Matrix Calculus f (w) = (a · w + 1)^2
Compute ∇wf (w)
A Useful Quantity ∇ww>Cw = (C + C>)w
Matrix Calculus f (w) = ‖w‖^22
Compute ∇wf (w)
Roadmap Python Matrix Calculus Recurrence Relation Probability Theory
Coin Payment Problem
Suppose you have an unlimited supply of coins with values 2 and 3 cents How many ways can you pay for an item costing 8 cents?
Roadmap Python Matrix Calculus Recurrence Relation Probability Theory
Probability Law of total probability:
P(A) = ∑ n P(A ∩ Bn) = ∑ n P(Bn|A)P(Bn)
Bayes’ rule:
P(A|B) = P(B P|A(B)P)(A)
Random Variables Discrete: P(A = a) or pA(a) Continuous: P(A = a) fA(a) F (c) = P(A ≤ c) =^ ∫^ −∞c fA(a) da