As far as I understood - at least form a very raw conceptual point of view, LDA (Linear Discriminant Analysis), when used as a dimensional reduction technique, does two things (I'll stick to the 2-class case):
- It computes the direction which maximizes class separation
- It projects data onto that direction.
Then, data can be used for classification.
I know some Python and R packages offer some convenient ways to perform LDA.
However, while I find it very easy to get the projected data (for example by using scikit-learn in Python or MASS in R), I could not find a way to get the "direction" itself.
So:
- Does it make sense to look for the "discriminative" direction?
- Is there any convenient way to get it by using any of Python or R packets?