x, each of X is a 300-dimension array, y, each of Y is a 5000-dimension array, I am trying to run CCA for getting an transform matrix from X to Y, but keep getting following warning and an error which I think are related:
/usr/local/lib/python2.7/site-packages/sklearn/cross_decomposition/pls_.py:290: UserWarning: X scores are null at iteration 2
warnings.warn('X scores are null at iteration %s' % k)