Documente Academic
Documente Profesional
Documente Cultură
Matrix
representation
of size n X d
Symmetric Matrix
Diagonal Matrix
Matrix multiplication with a vector
gives a transformed vector
Inner Product
Norm of a
vector
Cauchy Schwartz
Inequality
Linear Independence of vectors / Basis
vectors
Outer Product of 2 vectors
Rank of a matrix
Number of independent rows / columns of a
matrix
Gradient of
Vector function
Gradient of scalar
function
Eigen values and vectors
Diagonalization property
1 i j
qi q j
T
0 i j
Q QI
T
columns of Q denote
q1 q2 ..... qM
Q is of size M XM and is said to be
an orthogonal matrix
Positive Definite Matrix
19
Discrete Random Variables
20
Continuous Random Variable
23
Expectation/ Variance of continuous
random variable
Joint Probability
Consider two random variables x and y
If we observe multiple paired instances, then some
combinations of outcomes are more likely than
others
This is captured in the joint probability distribution
Written as P(x,y)
Can read P(x,y) as probability of x and y
25
For 2 random variables x and y,
Marginalization property
26
Marginalization
We can recover probability distribution of any variable in a joint distribution
by integrating (or summing) over the other variables
27
Marginalization
We can recover probability distribution of any variable in a joint distribution
by integrating (or summing) over the other variables
28
Marginalization
We can recover probability distribution of any variable in a joint distribution
by integrating (or summing) over the other variables
29
Conditional Probability
Conditional probability of x given that y=y1 is relative
propensity of variable x to take different outcomes given that
y is fixed to be equal to y1.
Written as Pr(x|y=y1)
30
Conditional Probability
Conditional probability can be extracted from joint probability
Extract appropriate slice and normalize
31
Conditional Probability
32
Conditional Probability
33
Bayes Rule
From before:
Combining:
Re-arranging:
34
Bayes Rule Terminology
Likelihood propensity for Prior what we know
observing a certain value of about y before seeing x
x given a certain value of y
36
Independence
When variables are independent, the joint factorizes into a
product of the marginals:
37
Discrete Random vectors
Continuous Random vectors
Continuous random vectors
Discrete random vectors
Properties of covariance matrix
1 dimensional Gaussian
2 dimensional Gaussian
Multi dimensional Gaussian