PCRRegressionCreateFromPreprocessed Method |
Creates a PCR regression from preprocessed spectra and preprocessed target variables.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static PCRRegression CreateFromPreprocessed(
IROMatrix<double> matrixX,
IROMatrix<double> matrixY,
int maxFactors
)
Parameters
- matrixX IROMatrixDouble
- The spectral matrix (each spectrum is a row in the matrix). It must at least be centered.
- matrixY IROMatrixDouble
- The matrix of target variables (each experiment is a row in the matrix). It must at least be centered.
- maxFactors Int32
- Maximum number of factors for analysis.
Return Value
PCRRegressionA regression instance containing the loads and weights necessary for further calculations.
See Also