http://jeremykun.com/2011/07/27/eigenfaces/
http://nbviewer.ipython.org/github/rcquan/sklearn-practice/b...
The wikipedia article (https://en.wikipedia.org/wiki/Eigenface) also contains code for a MATLAB implementation.