A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/l-ramirez-lopez/resemble/issues/49 below:

Inconsistent score names between ortho_projection and predict (pls method) · Issue #49 · l-ramirez-lopez/resemble · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4