Click or drag to resize

PLS2NipalsAlgorithmCoefficients Property

Gets the regression coefficients matrix, B, for the PLS2 calculation. B satisifies the relationship
C#
ResponseVector = XB + E.
where X and ResponseVector are respectively, the centered independent and dependent variables values, and EE is a noise term for the model.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override DoubleMatrix Coefficients { get; }

Property Value

DoubleMatrix
Remarks
The coeffient matrix, B, can be used for prediction as follows:

Let yhat(z) be the predicted value for the independet variable value z, xbar the mean of the PredictorMatrix variables and ybar the mean of ResponseVector variables. Then

C#
yhat(z) = ybar + (z - xbar)B.

See Also