Click or drag to resize

PLS2RegressionGetPredictionScoreMatrix Method

Get the prediction score matrix. To get the predictions, you have to multiply the spectras to predict by this prediction score matrix (in case of a single y-variable), this is simply the dot product.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void GetPredictionScoreMatrix(
	IROMatrix<double> xLoads,
	IROMatrix<double> yLoads,
	IROMatrix<double> W,
	IROMatrix<double> V,
	int numFactors,
	IMatrix<double> predictionScores
)

Parameters

xLoads  IROMatrixDouble
Matrix of spectral loads [factors,spectral bins].
yLoads  IROMatrixDouble
Matrix of concentration loads[factors, number of concentrations].
W  IROMatrixDouble
Matrix of spectral weightings [factors,spectral bins].
V  IROMatrixDouble
Cross product matrix[1,factors].
numFactors  Int32
Number of factors to use to calculate the score matrix.
predictionScores  IMatrixDouble
Output: the resulting score matrix[ spectral bins, numberOfConcentrations]
See Also