WorksheetAnalysisCalculateCrossPredictedY Method |
Calculates cross-predicted y-values for the provided spectra.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic virtual void CalculateCrossPredictedY(
IMultivariateCalibrationModel mcalib,
ICrossValidationGroupingStrategy groupingStrategy,
ISingleSpectrumPreprocessor preprocessSingleSpectrum,
double[] xOfXRaw,
Matrix<double> matrixXRaw,
Matrix<double> matrixYRaw,
int numberOfFactors,
Matrix<double> predictedY,
Matrix<double> spectralResiduals
)
Parameters
- mcalib IMultivariateCalibrationModel
- The calibration model of the analysis.
- groupingStrategy ICrossValidationGroupingStrategy
- The cross-validation grouping strategy.
- preprocessSingleSpectrum ISingleSpectrumPreprocessor
- The preprocessing applied to each single spectrum.
- xOfXRaw Double
- The x values of the raw spectra.
- matrixXRaw MatrixDouble
- Matrix of horizontal spectra, centered and preprocessed.
- matrixYRaw MatrixDouble
- Matrix of concentrations, centered.
- numberOfFactors Int32
- The number of factors used for prediction.
- predictedY MatrixDouble
- Receives the predicted y-values.
- spectralResiduals MatrixDouble
- Receives the spectral residuals.
See Also