A Category Space Approach to Supervised Dimensionality Reduction