| PLS2(IPLS2Calc, DoubleMatrix, DoubleMatrix, Int32) Constructor |
Constructs a PLS2 instance with the given calculator and performs a
PLS2 calculation on the given data.
///
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public PLS2(
IPLS2Calc calculator,
DoubleMatrix X,
DoubleMatrix Y,
int numComponents
)
Public Sub New (
calculator As IPLS2Calc,
X As DoubleMatrix,
Y As DoubleMatrix,
numComponents As Integer
)
public:
PLS2(
IPLS2Calc^ calculator,
DoubleMatrix^ X,
DoubleMatrix^ Y,
int numComponents
)
new :
calculator : IPLS2Calc *
X : DoubleMatrix *
Y : DoubleMatrix *
numComponents : int -> PLS2
Parameters
- calculator IPLS2Calc
- A calculator.
- 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