How do the covariance matrix and scatter matrix differ? The eigenspaces in covariance and scatter matrix will be identical (only the eigenvalues are scaled differently if there are identical eigenvectors by a constant factor)
Visualizing the transformed data and add the class labels
Transformed samples with class labels using matplotlib.mlab.PCA()