CS365 Homework-2
View code here
A. Linear Dimensionality Reduction
Reconstructing image 25
Using different dimensions,
m=2
m=10
m=30
m=80
B. Nonlinear Dimensionality Reduction - (Isomap)
Residual variance on taking dimensions from 1-10 displayed in the graph with k=7.
Observation :-
We observe that the residual variance is quite low even for 1-dimension and remains almost the same from 2 dimensions onwards. Hence
we can obtain satisfactory results by mapping our data in 2 dimensions, as is displayed by the isomap.
Isomap in 2-D :-
Nearest Neighbours :-
Image 25
Image 10
OBSERVATION :-
The images are well mapped on a 2-D manifold. They are categorised into 3 different areas or lines according to the part of the face visible- front, left and right. Similar looking pictures are well grouped as neighbours. Though a linear manifold is expected since the movement is just 1-D, but probably because of the high number of straight looking faces, with subtle differences, a 1-D mapping is not enough(high residual variance value).