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.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
IROMatrixDoubleA matrix with the prediction scores. Each score (for one y-value) is a row in the matrix.
See Also