Generalized Canonical Correlation Analysis for Classification