In the mentioned line a warning appears if computing PLS for further components achieves no new results.
I wonder if it is necessary to show this warning. I think the algorithm is computed correctly since the for-loop breaks if no more iterations are needed. Or is there a way to compute the number of optimal components for PLS before?
|
warnings.warn('X scores are null at iteration %s' % k) |