Dimensionality Reduction and Principle Components
Ken Kreutz-Delgado (Nuno Vasconcelos)
UCSD — ECE Department — Winter 2012
and Principle Components Ken Kreutz-Delgado (Nuno Vasconcelos) - - PowerPoint PPT Presentation
Dimensionality Reduction and Principle Components Ken Kreutz-Delgado (Nuno Vasconcelos) UCSD ECE Department Winter 2012 Motivation Recall , in Bayesian decision theory we have: World: States Y in {1, ..., M} and observations of X
UCSD — ECE Department — Winter 2012
2
3
all 64 DCT features
8%
4
5
D without increasing the probability of error, and even often decreasing the probability of error
6
7
(Gaussian, exponential, etc.) but a mixture of several factors
components, what type),
local minima, etc.
difficult to get this right
8
axis in order to get a reasonable quantization
dimension 1 2 3 points/bin 10 1 0.1
9
1.features are not discriminant 2.features are not independent
discriminant non-discriminant
10
expensive the car you drive”
11
car loan
projection onto 1D subspace: y = a x
car loan new feature y
12
look very flat when viewed from the full space, e.g.
are going to be highly skewed ellipsoids
data give the Principle Components of the data.
1D subspace in 2D 2D subspace in 3D
13
measures the “natural” units for the problem because it is “adapted” to the covariance of the data
is that it uses S-1
1 2( ,
T
14
that maps a vector from the space Rn back into the same space (when the domain and codomain of a mapping are the same, the mapping is an automorphism).
represents a linear mapping that sends x in Rn to y also in Rn
1 11 1 1 1 n n n nn n
y a a x y a a x
e1 e2 en x
A
e1 e2 en y
15
where the scalars li are the n eigenvalues of A
i i i
e1 e2 en x
A
e1 e2 en y = l x
16
1 1 1
| | | | | | | |
n n n
A A l l
1 1 1
| | | | | | | |
n n n
A l l
1 1
n n
17
1 T T T
T
T
18
(plus a possible reflection)
T
, 1 1 1 ,
'' ' '
n n n
x x x x x l l l l
19
1 1
n
e1 e2 cos sin
T
20
A) fi are the axes of the ellipse B) The width of the ellipse depends on the amount of “stretching” by li
e1 e2
T
(1)
e1 e2 l1e1 l2e2
(2)
l1e1 l2e2
(3)
21
2)
, 1 1 ,
n n
l1
l1e1 l2e2
22