Correlative components analysis for pattern classification