What is the difference between LDA and PCA for dimensionality reduction?

Technical