Add two additional parameters to the ipls() function: x.test and y.test. The parameters have the same meaning as in PLS regression, if they are provided, then iPLS will use the test set for validation and thus for selection (or exclusion) of intervals. It will increase the speed of the procedure significantly.
Add two additional parameters to the
ipls()
function:x.test
andy.test
. The parameters have the same meaning as in PLS regression, if they are provided, then iPLS will use the test set for validation and thus for selection (or exclusion) of intervals. It will increase the speed of the procedure significantly.