Tam ProbabilityLinearAlgebraReview
Tam ProbabilityLinearAlgebraReview
EE5907R:
Pattern Recognition
Explanations: http://www.youtube.com/watch?v=mhlc7peGlGg
http://www.youtube.com/watch?v=9vRUxbzJZ9Y
Try it out: http://math.ucsd.edu/~crypto/Monty/monty.html
P a X b F b F a
P( a person’s weight between 100 and 200 )=F(200)-F(100)
EE5907R: Pattern Recognition 15
Discrete Random Variable:
Probability Mass Function
Given a discrete random variable X, the
probability mass function is defined as
Pa P X a
Satisfies all axioms of
probability
CDF satisfies
F a P X a P X k
k a
CDF satisfies
F a P X a f x dx
a
General usage
Pa X b f x dx
b
1 1 x 2
p(x) exp
2 2
mean vector
covariance matrix
and
a
a
Normalized (unit) vector
|x|=1
n×d
d×n
Product of two matrices:
–minor matrix Aik is formed by removing the ith row and the kth
column of A
A= A23=
–Semi-positive definite:
AA-1=A-1A=I
–The inverse A-1 exists if and only if A is non-singular
|A|≠0
Pseudo-inverse
A† =[ATA]-1AT with A†A = I
–Assuming ATA is non-singular
–Used whenever A-1 does not exist, i.e., A is not square or A
is singular.
EE5907R: Pattern Recognition 34
Linear Transformations
Mapping from vector space XN to vector space
YM, represented by a matrix
Note that
–The dimensionality of the two spaces does not need to be
the same.
–For PR, typically M<N, i.e., project onto a lower-
dimensionality space.
EE5907R: Pattern Recognition 35
Eigenvectors and Eigenvalues
Definition: v is an eigenvector of matrix A if
there exists a scalar λ, such that
Computation
Projection