Click or drag to resize

MultivariateRegressionPreprocessTargetVariablesForAnalysis Method

Preprocesses the x and y matrices before usage in multivariate calibrations.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static void PreprocessTargetVariablesForAnalysis(
	Matrix<double> matrixYRaw,
	out Matrix<double> matrixYPre,
	out Vector<double> meanY,
	out Vector<double> scaleY
)

Parameters

matrixYRaw  MatrixDouble
Matrix of target variables. Each measurement (belonging to a spectrum) represents one row.
matrixYPre  MatrixDouble
On return, contains the matrix of preprocessed target variables. Same dimensions as matrixYRaw.
meanY  VectorDouble
On return, contains the mean value of the target variables (mean of all measurements).
scaleY  VectorDouble
On return, contains the scaling factor for the target variables.
See Also