WorksheetAnalysisCalculatePredictedY Method |
For a given set of spectra, predicts the y-values and stores them in the matrix predictedY
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic virtual void CalculatePredictedY(
IMultivariateCalibrationModel mcalib,
double[] xOfXRaw,
Matrix<double> matrixXRaw,
int numberOfFactors,
Matrix<double> predictedY,
Matrix<double>? spectralResiduals
)
Parameters
- mcalib IMultivariateCalibrationModel
- The calibration model of the analysis.
- xOfXRaw Double
- The x values of the raw spectra.
- matrixXRaw MatrixDouble
- 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 MatrixDouble
- On return, this matrix holds the predicted y-values. Each row in this matrix corresponds to the same row (spectrum) in matrixX.
- spectralResiduals MatrixDouble
- 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