An optimal transformation for discriminant and principal component analysis | Synapse