| PLS1(DoubleMatrix, DoubleVector, Int32) Constructor |
Constructs a PLS1 instance with the default 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(
DoubleMatrix X,
DoubleVector y,
int numComponents
)
Public Sub New (
X As DoubleMatrix,
y As DoubleVector,
numComponents As Integer
)
public:
PLS1(
DoubleMatrix^ X,
DoubleVector^ y,
int numComponents
)
new :
X : DoubleMatrix *
y : DoubleVector *
numComponents : int -> PLS1
Parameters
- 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