Calculates the partial least squares fit.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void Calculate( DoubleMatrix X, DoubleVector y, int numComponents ) |
| Visual Basic (Declaration) |
|---|
Public Sub Calculate ( _ X As DoubleMatrix, _ y As DoubleVector, _ numComponents As Integer _ ) |
| Visual C++ |
|---|
public: void Calculate( DoubleMatrix^ X, DoubleVector^ y, int numComponents ) |
Parameters
- X
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Matrix of predictor or independent variables.
- y
- Type: CenterSpace.NMath.Core..::.DoubleVector
Vector of response or dependent variables.
- numComponents
- Type: System..::.Int32
Number of components or latent variables.