Pipeline for (s)PLS: tune, model, perf?

Hi @lorenzoF92

The tune.spls function has changed since this post and now one can perform variable selection on Y as well. But one should use the tune function for tuning all hyperparameters. perf is only meant to evaluate the model performance.

It really depends on the study. For instance, you might want to compare the models and see if variable selection improves the model.

Yes

Hope it helps,

Al

1 Like