Skip to content

Improve prediction time #18

Open
Open
@lalvim

Description

@lalvim

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions