Click or drag to resize

PLS2RegressionPredictedYAndSpectralResidualsFromPreprocessed Method

This predicts concentrations of unknown spectra.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public override void PredictedYAndSpectralResidualsFromPreprocessed(
	IROMatrix<double> XU,
	int numFactors,
	IMatrix<double>? predictedY,
	IMatrix<double>? spectralResiduals
)

Parameters

XU  IROMatrixDouble
Matrix of unknown spectra (preprocessed the same way as the calibration spectra).
numFactors  Int32
Number of factors used for prediction.
predictedY  IMatrixDouble
On return, holds the predicted y values. (They are centered).
spectralResiduals  IMatrixDouble
On return, holds the spectral residual values.
See Also