I have a practical question regarding PLS-DA/sPLS-DA.
Let’s say I have created a PLS-DA model based on some samples, and want to use it to classify new unlabelled samples. I could not find the way of doing this, is that a possibility?
One additional question from the tutorial you have linked.
It is about splitting the dataset for training and testing.
I have in total 184 samples. Did the split as instructed in the tutorial, where for training I have allocated 140 samples, and the rest is testing set (44 samples)
train ← sample(1:nrow(X), 140) # randomly select 140 samples in training
test ← setdiff(1:nrow(X), train)