Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve prediction time #18

Open
lalvim opened this issue Oct 23, 2020 · 0 comments
Open

Improve prediction time #18

lalvim opened this issue Oct 23, 2020 · 0 comments

Comments

@lalvim
Copy link
Owner

lalvim commented Oct 23, 2020

Follow the approach given: Martens H., NÊs T. Multivariate Calibration. Wiley: New York, 1989.
as shown here

https://github.com/caseykneale/ChemometricsTools.jl/blob/d8cd288ae76b221274a54cc204cd146791bddf98/src/RegressionModels.jl#L212

This turns inference into a single matmul, because PLS does truly follow Y = XB when center scaled. Should work for PLS1 and PLS2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant