Perform a PLS2 calculation on the given data.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public abstract void Calculate( DoubleMatrix X, DoubleMatrix Y, int numComponents ) |
| Visual Basic (Declaration) |
|---|
Public MustOverride Sub Calculate ( _ X As DoubleMatrix, _ Y As DoubleMatrix, _ numComponents As Integer _ ) |
| Visual C++ |
|---|
public: virtual void Calculate( DoubleMatrix^ X, DoubleMatrix^ Y, int numComponents ) abstract |
Parameters
- X
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Predictor data values. Matrix should be number of sample rows by number of predictor variable columns.
- Y
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Response data values. Matrix should be number of sample rows by number of response variable columns.
- numComponents
- Type: System..::.Int32
Number of components, or latent vectors, to use for the calculation.