Click or drag to resize

WorksheetAnalysisCalculatePredictedY Method

For a given set of spectra, predicts the y-values and stores them in the matrix predictedY

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual void CalculatePredictedY(
	IMultivariateCalibrationModel mcalib,
	double[] xOfXRaw,
	IMatrix<double> matrixXRaw,
	int numberOfFactors,
	MatrixMathLeftSpineJaggedArrayMatrix<double> predictedY,
	IMatrix<double>? spectralResiduals
)

Parameters

mcalib  IMultivariateCalibrationModel
The calibration model of the analysis.
xOfXRaw  Double

[Missing <param name="xOfXRaw"/> documentation for "M:Altaxo.Calc.Regression.Multivariate.WorksheetAnalysis.CalculatePredictedY(Altaxo.Calc.Regression.Multivariate.IMultivariateCalibrationModel,System.Double[],Altaxo.Calc.LinearAlgebra.IMatrix{System.Double},System.Int32,Altaxo.Calc.LinearAlgebra.MatrixMath.LeftSpineJaggedArrayMatrix{System.Double},Altaxo.Calc.LinearAlgebra.IMatrix{System.Double})"]

matrixXRaw  IMatrixDouble
The matrix of raw (unprocessed) spectra to predict. Each spectrum is a row in the matrix.
numberOfFactors  Int32
The number of factors used for prediction.
predictedY  MatrixMathLeftSpineJaggedArrayMatrixDouble
On return, this matrix holds the predicted y-values. Each row in this matrix corresponds to the same row (spectrum) in matrixX.
spectralResiduals  IMatrixDouble
If you set this parameter to a appropriate matrix, the spectral residuals will be stored in this matrix. Set this parameter to null if you don't need the residuals.
See Also