Closed
Description
Hi Leo,
I think this is just a small fix...
When I compress a matrix of spectra using 'pls' method...
ortho_projection(Xr = pls.data, Xu = NULL, Yr = target, method = "pls", pc_selection = list(method = "manual", value = 3))
The scores matrix from this object are column-named pls_1
, pls_2
, and pls_3
.
If I predict new spectra with this trained model, the scores column names are pls1
, pls2
, and pls2
, requiring that I rename it within the pipeline for plotting or analyzing both datasets in conjunction.
This does not happen for method pca
.
Thanks
Metadata
Metadata
Assignees
Labels
No labels