Homework 2


Part 1



A:

Download Code
Reconstructed images with error plots -



B:
k-NN with k=1
Original Image: (Image # 416)

Image recognized as - (nearest neighbour of the reconstructed image):


The nearest neighbour identified is some other face with 100 eigen faces. This is somewhat understandable as the image reconstruction was not very good.
With k=3, all 3 faces (neighbours) were different and no face was recognized. C:
The corresponding outputs and plots for these 5 images - (With k-NN best match with k=3)





  • No best match found for the rabbit.



Part II