| PLS2(DoubleMatrix, DoubleMatrix, Int32) Constructor |
Constructs a PLS2 instance with the default calculator and performs a
PLS2 calculation on the given data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public PLS2(
DoubleMatrix X,
DoubleMatrix Y,
int numComponents
)
Public Sub New (
X As DoubleMatrix,
Y As DoubleMatrix,
numComponents As Integer
)
public:
PLS2(
DoubleMatrix^ X,
DoubleMatrix^ Y,
int numComponents
)
new :
X : DoubleMatrix *
Y : DoubleMatrix *
numComponents : int -> PLS2
Parameters
- X DoubleMatrix
- n samples by p variables predictor matrix.
- Y DoubleMatrix
- n samples by m variables response matrix.
- numComponents Int32
- The number of components of PredictorMatrix.
See Also