Click or drag to resize

WorksheetAnalysisCalculatePredictionScores Method

Calculates the prediction scores. In case of a single y-variable, the prediction score is a vector of the same length than a spectrum. Multiplying the prediction score (dot product) with a spectrum, it yields the predicted y-value (of cause mean-centered).

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual IROMatrix<double> CalculatePredictionScores(
	DataTable table,
	int preferredNumberOfFactors
)

Parameters

table  DataTable
The table where the calibration model is stored.
preferredNumberOfFactors  Int32
Number of factors used to calculate the prediction scores.

Return Value

IROMatrixDouble
A matrix with the prediction scores. Each score (for one y-value) is a row in the matrix.
See Also