pca ipython notebook revised 3rd iteration