PLS2RegressionPredict Method |
Predicts target variables and/or computes spectral residuals for preprocessed spectra.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static void Predict(
IROMatrix<double> XU,
IROMatrix<double> xLoads,
IROMatrix<double> yLoads,
IROMatrix<double> W,
IROMatrix<double> V,
int numFactors,
IMatrix<double>? predictedY,
IMatrix<double>? spectralResiduals
)
Parameters
- XU IROMatrixDouble
- Unknown spectrum or spectra (preprocessed; horizontally oriented).
- xLoads IROMatrixDouble
- X loadings matrix.
- yLoads IROMatrixDouble
- Y loadings matrix.
- W IROMatrixDouble
- X weighting matrix.
- V IROMatrixDouble
- Cross-product matrix.
- numFactors Int32
- Number of factors to use for prediction.
- predictedY IMatrixDouble
- If not , receives the predicted (centered) y values.
- spectralResiduals IMatrixDouble
- If not , receives spectral residual values.
See Also