| PLS1(IPLS1Calc, DoubleMatrix, DoubleVector, Int32) Constructor |
Constructs a PLS1 instance with the given PLS1 calculator and
performs a PLS1 calculation on the given data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public PLS1(
IPLS1Calc calculator,
DoubleMatrix X,
DoubleVector y,
int numComponents
)
Public Sub New (
calculator As IPLS1Calc,
X As DoubleMatrix,
y As DoubleVector,
numComponents As Integer
)
public:
PLS1(
IPLS1Calc^ calculator,
DoubleMatrix^ X,
DoubleVector^ y,
int numComponents
)
new :
calculator : IPLS1Calc *
X : DoubleMatrix *
y : DoubleVector *
numComponents : int -> PLS1
Parameters
- calculator IPLS1Calc
- PLS1 calculator object.
- X DoubleMatrix
- n samples by p variables predictor matrix.
- y DoubleVector
- Response vector.
- numComponents Int32
- The number of components of X to use
in the PLS calculation.
See Also