PLS2RegressionGetPredictionScoreMatrix Method |
Gets the prediction-score matrix.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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 loadings [factors, spectral bins].
- yLoads IROMatrixDouble
- Matrix of target-variable loadings [factors, number of target variables].
- 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
- Receives the resulting score matrix [spectral bins, number of target variables].
Remarks
To obtain predictions, multiply the spectra to predict by this prediction-score matrix.
For a single y-variable this corresponds to a dot product.
See Also