| IPLS2CalcQResiduals Method |
Calculates the Q residuals for in sample in the model. The Q residual
for a given sample is the distance between the sample and its projection
in the subspace of the model.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleVector QResiduals(
DoubleMatrix X
)
Public Function QResiduals (
X As DoubleMatrix
) As DoubleVector
public:
DoubleVector^ QResiduals(
DoubleMatrix^ X
)
member QResiduals :
X : DoubleMatrix -> DoubleVector
Parameters
- X DoubleMatrix
- Matrix of samples. Each row is a sample.
Return Value
DoubleVectorVector of Q residuals. The ith element of vector is the residual
for the ith sample.
See Also