Eigen Faces Images
| Average Face |
 |
| ------ |
| Ten Eigen faces |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Plot of number of eigenfaces and classification accuracy
Plot of the Number of positives vs number of eigenfaces computed.
The x-axis represents the number of eigenfaces computed, while
the y-axis represents the number of correctly classified faces
in the similing_images category.
Discussion
From the plots we can clearly see that as we increase the
number of eigen faces, our accuracy increases. This is intuitives
since as we increase the number of eigen faces, there is more
vectors that we can span and come closer to (in terms of mse).
Using 10 eigen faces we get 14 out of 24 images which comes to
about 58% accuracy. Now given the eigenfaces, if we use too less
then we will be efficient and faster, however the accuracy will
be worse. Moreover, if we use a lot of eigen faces, the find face
and other algorithms can be slower. Moreover, as with machine
learning algorithms there is always a possibility of over fitting
to the training data and as we go out there into the real world,
which will not be very good. Furthermore, just looking at the graph
we see that it rises steeply around 14-15 and then plateaus and then
has a rise but not that steep. Hence if I were to pick a value I will
pick it between 10-15 range (Right before it plateaus off). However
there does not seem to be a clear answer.
Below are the couple of images that the algorithm consistenly
classified until the levels were high enough or that never actually
got classified correctly even after using 24 faces.
The mistakes were quite consistent (as said) until fixed, and in my
opinion very reasonable. It seems that the images that were quite
distant from the average face were misclassified more. It can also be
because the images did not get enough of the face or were of different
sizes as was used in the training data. For some of the images that
the classifier was able to recognize with full training data, those
appeared high enough to the sorted list. However the others seemed to
belong nowhere.
| Often misclassified faces | |
 |
 |
 |
 |
It is interesting to note that the the second image was often
misclassified with the last one.