Text this: PLS regression on a stochastic process